Any watch or clock is, at its most basic, an oscillator (the pendulum, a balance wheel) with a driving system (a mainspring in a watch, a falling weight in a pendulum clock)
link and a
link mechanism that both counts the oscillations, and drives the oscillator. This is the
link escapement.