Method for getting number of games played.