I read Allen Wyatt’s website last updated Jan 18 2020, but he recommends downloading other programs.
Does Word have anything built-in?
A standalone program—one not run as a Word add-in—is TextSTAT. It can read several types of files, including Word documents. It produces a detailed listing with all sorts of statistical summaries. Best of all, TextSTAT is free at:
If you’d like to "jump under the hood" and create your own macro to get the desired results, consider the discussion at a previous WordTip, located here:
You could also benefit by examining how MVP Greg Maxey tackles the issue: