Only published extensions and enabled automations count towards your plan limits. Disabled/unpublished ones do not. You can create and manage as many extensions or automations as you like, as long as the ones you’re not using remain disabled or unpublished.
Unpublished extensions and disabled automations won't prevent you from switching plans.