Implement the vote counting in the access control system