code: function updateWordCount (editor) {
      var word_count   = $('.entry-word-count');
      var editor_value = editor.getValue ();
  
      if (editor_value.length) {
        if (editor_value.match(/\S+/g) === null) {
          word_count.html ('0 words');
        } else {
          word_count.html (editor_value.match(/\S+/g).length + ' words');
        }
      }
    }
docs: /*
  Really not the best way to do things as it includes Markdown formatting along with words --
  -- updates the word count located on the editor.