How many positive integers less than or equal to 6*7*8*9 solve the system of congruences:
m = 5 (mod 6)
m = 4 (mod 7)
m = 3 (mod 8)
m = 2 (mod 9)
m = 1 (mod 10)