And mechancial counters were a thing in 1981 as well. I mean the machines had a way to say "you need to pay X amount" or a way to count money, surely that can be fed into a daily / weekly counter, a printed record, etc.
And also, they were pretty precise with the amount that he stole: they can't bring a guess to court, they had an exact record of how much was stolen.