Count the Repetitions