How can I get the word count of a PDF file? I think that most pdf files for which I want to get total word count have text layer embedded, so I need no OCR.
The task was arisen from searching for some scientific papers of known size, e.g. 15000 words. Most moders papers are published in pdf format