added a method to reset the candidate counter