I have made a guessing game where a person asks another person to guess a number between 1 and 1000. How would i count the number of times it took the person to guess the right number. so at the end i can have the person say it only took me this many guesses to figure out ur number.