lines of code

C++
find . -name '*.[FileExtention]' | xargs wc -l

Source

Also in C++: