Calculates votes for all offices correctly, but is not DRY