How Parties Count