Fixes word count to work in RTE again.