added ability to count rows of code