Move wordCount into editor controller.
remove console log