BpmControl should know the current beat length in samples so it could take the loop in / loop out and divide that by the beat length?