... until the collector arrives ...
I used the following UNIX pipe to perform crude code line counting:
find . -name '*.java' -not -wholename '*/generated/*' -exec cat {} \; | sed -e '/^[ \t]*$/d' | wc -l
Every non-blank line is counted.