to calculate lines in code files