Added word counting to emacs buffers.