Added CountLines method
Merge branch 'Count-Lines'