A plate appearance in a baseball game consists of a series of pitches thrown by the pitcher to the batter. The plate appearance ends when there is a strikeout, a walk, a hit-by-pitch, or the batter puts the pitch in-play. The count is the record of balls and strikes in the plate appearance. The dynamics between the pitcher and batter changes with every new pitch. The ball and strike count tells us, on face value, if the pitcher or batter has an advantage. For example, the pitcher has an advantage with a count of two strikes since three strikes are a strikeout, and a count with three balls favors the batter since four balls are a walk.