Implemented counting and display of total repetitions