how to set the group in table footer? for Ex: i need to count the items of columns based on grouping?