The time-keeping part is arranging gears and a spring in a way that will, in fact, keep time.
> It's when you learn about integrated circuits and full-adders, and keep trying to understand how a bunch of transistors can do Mathematics, until you figure out that there isn't a mathematics-doing part in there, it's just circuits and wires, arranged in a way that makes the voltages come out right.
The mathematics-doing part in there is the arrangement of circuits and wires in ways that can actually do arithmetical operations on voltages.
It's not magic. But an adder, while never more than a bunch of circuits and wires, is still a mathematics-doing part.