It's clear that as n increases, n5 will eventually be much larger than n7. As long as the difference is at least 1, the integer parts can't be equal; a (very) little algebra gives us
n5≥n7+1→n≥7×57−5=352
There is a corresponding result for n negative, but we don’t have to worry about it.
Of course, it doesn't follow that the integer parts of the quotients are the same for all smaller numbers.
[5×1,7×1)
[5×2,7×2)
[5×3,7×3)
are all obviously no good; dividing by 7 clearly gives a smaller number than dividing by 5. In the middle of this last range we trip over the absolute limit we found before.
Notice that there are five good values of n in [0,5) (not a coincidence), and three good values in the next continuous group of good values, in [7,10) (decreasing from 5 to 3, that is, by 7−5, again no coincidence). Then there's a lonely individual n in [14,15), and that's it.
So the size of the solution set is 5+3+1=9.