Added count lines method.

countVerticalNextLine
countHorizontalNextLine
Version up to 0.2.7