[1] https://www.worldometers.info/world-population/population-by...
There is always, so you would just always count the ballots.
The distance between the election and the taking of the office is often months. I just don't understand why electronics need to be involved at all in this system.
Also it's not just elections to offices, but also votes on yes/no propositions, which can take effect more or less immediately.