Counting lines of code in a directory is useful, but it's a single data point that's too broad to answer most questions.
How many useful lines of code did you write? And how much better can you get?
The vcsloc tool tracks cumulative live lines of code, across all branches and authors, in a repository.