Count teams before trying to switch the player