[major] Implement the vote counting