finish counter implementation in scoreboard