The animation shown here was done by artist New Gottland using Autodesk Inventor 2012 Professional. The device in the model was inspired by mechanism #169 from the book 1800 Mechanical Movements, Devices and Appliances (Dover Science Books) by Gardner D. Hiscox.
The mechanism appears fairly simple at first glance -- mostly because there are not that many parts. But, watch the numbers on counter, the pointer as in interacts with the pins, the motion of the dial and how it is held in a fixed station for a few moments. There is a lot going on there!