I just posted on the New York State traffic count map, and then I looked down the road to see a traffic counter. There's not a whole lot to it, but this is how those numbers get created.
Waiting for a car.
Counting a car.
The brains (really memory) of the traffic-counting operation.