This item is called a baseball umpire indicator (often referred to simply as an umpire clicker or counter). It is a handheld tool used by baseball and softball umpires or coaches to keep manual track of strikes, balls, outs, and innings during a game.