There is no limit on the number of thermal zones in EnergyPlus. Eventually the computer may not have enough memory to run a really really huge model, but the code does enforce a limit.