Hi,

How many rows will be there once we collate all the data ? Replace the 50000 if there are more rows.