Fixed an issue with the line count