Added word count functionality based off of the ckeditor word count plugin