add record count for reading the first n from very large files