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