The board of elections uses paper ballots, scanners and memory sticks to tally up voters’ decisions in races big and small.