group results by votes.first_choice rather than candidates.id, to avoid all write-in votes being counted together