Count the words in a document

Pages and Word show a live word count (View → Show Word Count). From Terminal, the built-in textutil turns a .docx into plain text and wc -w counts it.

How

Count the words in a Word document:

textutil -convert txt -stdout essay.docx | wc -w

Or a plain text file:

wc -w notes.txt
Or just ask Titan
How many words is my essay, and which paragraph is longest? Do it with Titan

Titan is an AI that lives on your computer: tell it what you need and it does it while you watch — you press Return, nothing runs by itself. What is Titan?

Titan isn’t on this computer yet. Get Titan, then press the button again — the task will be waiting, typed in.

Related

Combine PDFs into one