Update/correction: Christian Moe <[email protected]> writes: > I would normally suggest org-wc > (https://github.com/tesujimath/org-wc), which you can install with > `M-x list-packages'. It's a word-count package that is aware of Org > syntax, so it ignores keywords and blocks that shouldn't be counted as > words. You do `M-x org-wc' or `M-x org-wc-display' to get a word count > for every heading, summing over subheadings. [...] However, at present > there seems to be a bug: While org-wc handles property drawers, for me > it hangs if the buffer contains any other Org drawer.
Actually, I *do* recommend org-wc.el. As it turns out, it did not hang on drawers that follow immediately after the heading and metadata, only on drawers that followed some other content. So for what you're doing, you might never trigger the bug at all. In any case, that bug has now been fixed on https://github.com/tesujimath/org-wc/ (hopefully without me breaking anything else). I assume the fix will find its way into Melpa in due course. Regards, Christian
