How many 4-digit numbers are there when the remainder is 4 divided by 6.7.8.9

How many 4-digit numbers are there when the remainder is 4 divided by 6.7.8.9

The least common multiple of 6.7.8.9 is 504,
So we should ask how many 4 digits can be divided by 504
The minimum multiple is 2 and the maximum is 19,
Total 18 numbers