This is what I currently have, however it prints the total number of times Author appears in all of the files: 128367
grep -roh 'Author' $1 | wc -w
However how do I print out the word count for each file separately?
Also the argument it's taking is a folder with the files in.