repair typo voute -> vote
update variablename to vote_counts from total_array
use sugarsyntax to Hash and Array
update variablename to vote_counts_and_users from vote_counts