split_rows_by_recursive function

Count or summarize by groups