Values of Hilbert function
Is there a built in sage command to get values of the Hilbert function of an ideal? Of course for for large enough integers the value of the Hilbert function is equal to the value of the Hilbert polynomial, and there is a command to in sage for the Hilbert polynomial. But I need the values of the Hilbert function for small integers. Also, I could use the command for Hilbert series but the output is a rational function that I have to expand in a power series in order to see the values of the Hilbert function. Is there a built in command to give me the value directly?