corrected line count