A Lines of Code (LOC) counter measures the size of a codebase by counting lines across files and directories. It typically breaks down results by language and distinguishes code from comments and blank lines.
Build your own LOC Counter is available with a project breakdown on Coding Challenges.