Implemented get_number_of_players