[ascii import] simplify row counting

Authored by sgerlach on Jul 8 2018, 8:14 PM.