Small scanf speedup
Pass the linecount along