Ex 1.5.3 Line Counting