The getNum command finds the numerator of an unreduced rational function.
Unlike numer (see Section 10.7.2), textttgetNum does not simplify the expression before extracting the numerator.