Using stones to count sheep