Small detail but maybe have totalNumberOfLines instead? Mainly because I was a bit confused what "unparsed" meant without going deep down the parsing logic.