successfully tested and got count_one_vote to work