Added query for fetching number of groups each game has