Chapter 1. Rules for Counting Ballots