Added a counter 

Added a counter to tell the user how many attempts it took them to guess the number.