How do they calculate the total number of votes?

The total number of voters can be calculated by counting all the signatures and fingerprints in the Voters list. The number of used and unused ballots is calculated using the serial numbers on the stack after the ballot paper is given.