How to increment values each of the time for website extract data table

Ok, But there is no static number of rows, sometimes it may be 2,3 and sometimes more than 6,7 rows. So how can i select rows in for each uielement ?