Sherlock and Counting