The numer command finds the numerator of a rational function, after it has been reduced. (See also Section 7.2.3.)