I want to find and count a name that appears in a series of documents in a directory. I figure that I want a recursive find command and then grep that to find the name like this:
find . file* | xargs grep "John Doe"
This is where I am getting hung up on the syntax. How do I count all instances of "John "Doe" and output that number?