Why are numerator and denominator called so?

In a fraction, such as two-fifths, "two" is the numerator, and "fifths" the denominator.

Numerator tells us "how many". The word is derived from the Latin "numerus" (number).

Denominator names the "things" we are counting. The word is derived from the Latin "denomino" (to name).