How to Count Basic Rhythms