Count letter in line and get line length