Implement total_votes counter