fix counter to spawn correct number of keyboards