file counter for importers (incomplete)