Keep track of dance timing with counters

Fixes #1