The electoral system is conveniently divided into two parts: voting and counting.
Voting accomplishes this:
Then the counting phase begins as follows:
In order to simplify the counting process, winners are decided in advance by unelected officials who are totally honest.