Extract line length