correct line count