There's an easier way of doing this particular line - and a slightly better way of getting text that was found in another issue.

The element can be got via `scope.displayElements.text` and you will get a better wordcount using `.innerText` as `.innerHTML` also gives you the HTML tags.

If you look at my comments in #194 about putting all the logic in the toolbarTool definition.