Or, stored on paper with a bunch of both independent and representative people counting the paper and ensuring the newspapers reported their riding correctly.
My mom was a returning officer for years and I find it horrifying to watch the US gum up their election systems in the name of progress (or, maybe, in the name of election fraud).