Grid on grouping show count of the grouped items in the group header. Its a pretty known functionality.