Now we are getting into the quantum physics question of if the universe is discrete or continuous. Which seems to be unsolved.
So I guess that's my answer. If the universe is discrete then there are finite genders, and if it's continuous then there could be infinite genders.