Added query for counting users for each group in the users group listing view.