Added a helper method for finding the number of votes