CLI-based beats-per-minute (BPM) counter