Displaying Sequence in Log File?

As in the Shopping site tutorial: http://community.screen-scraper.com/tutorials/tutorial_5/0_saving_scraped_data_to_a_database, my script will write data to a CSV file for each record found.

It cycles through each one and writes correctly, but is there any way to display in the LOG, how many times it has found a result?

If I know I have 1000 records to scrape, I would like to be able to check the log as it's scrolling and see how many it has done so far.

Thank you

Thank you

See addToNumRecordsScraped

See addToNumRecordsScraped and getNumRecordsScraped. They are Enterprise edition only, but they will do it. Otherwise, just make a session variable, increment it at each result, and then use session.log to show it.