Character/word counter for Redactor editor