Log every 1000 rows, and update usage to be accurate.
add collections dependency