now prints total number of guesses upon successful guess