There are 20 rows in the table. I grouped them into 3 parts according to its safety goals. The result looking like it is grouped into 3 parts but the count is the same as for table (1 to 20). It is not restarting in each grouped table. I want it to be like 1 to 7 , 1 to 6 and 1-7 .