counter progress
writing to CSV