VotesController#index has been refactored to move the logic to counting votes for each candidate to the Vote model.