How do I count words in a PDF file on OS X? I'd like to count words on a PDF file on OS X. The inspector doesn't contain the word count.
Use the GhostScript tool ps2ascii,
$ ps2ascii MSWiM_2016.pdf | wc -w
*** Warning: composite font characters dumped without decoding.
    8964