compute percentage with nbTotalVotes