I was wondering how different MAME versions behave with different ROM sets?

Right now, on my PC at work, I have installed both, a v165 of MAME and a v170 of MAME together with a ROM set of v165.

MAME v165 shows me around 31.750 games available
MAME v170 shows me around 9.100 games available (although that is MAME FX, if that makes any difference)

That's quite a big difference.

So is there a difference using a lower version of an emulator with a higher ROM set, or the opposite, like running MAME v170 with a lower ROM set of v165 (like me at the moment)?

Next week I'm gonna bring my v170 set, and copy it over to the ROMs directory, so that I can compare again.