extract line length
extract line length