Driver reads number of lines in PDF