Count lines of code in a program