How to give row number for search results in Append to CSV for each Search

Hi All,

I’m trying to search for 11 entries from a webpage and scrap that data into CSV, for each run the data will be appended to CSV. but the problem is when there is no result for the number I’m searching it is not leaving the row empty and the next result is appending to the next line. I want to know which result has no data. if I search for 11 entries and if I see the CSV with 8 entries. I can’t find which entry has no data.

Can we add a serial number like below to row 1 or add empty or no data text to the no result entry???

Please help.