changed the number of balls counter