Fix zone count method after clearing zones