How to measure # of lines of code in project?
Check CLOC, it's a source code line counter that supports many languages, I always recommend it.
It will differentiate between actual lines of code, blank lines or comments, it's very good.
In addition there are more code counters that you can check:
- SLOCCount
- sclc
- USC's CODECOUNT
- loc
- Ohcount
phploc
No experience if it runs on Windows, tho, but searching on the web showed some results of people getting it to work on Windows..