Wordcount minor mode for Emacs