count the number of lines written by an author in a file

git blame droogle.module | grep James | wc -l