`count-words-buffer' in simple.el