Correct main record counting in ERIC importer