Step 3:
A sensor counts the rhythm