The statement is equivalent to
120=0 (mod n), meaning that n divides 120.
All divisors of 120 will satisfy the statement because 120 divided by a divisor (factor) will leave a remainder of 0.
Factors of 120 are:
You can count how many such values of n there are, and try to check that each one satisfies 127=7 mod n.