DoWhatever Software has a neat little tool for counting lines of code in ASCII text files. LineStats 1.0 then also records the total blank lines found and returns them as a % as well. Best of all its free, but if you find it usefull the you can donate.