Attempt at Countable integration

Quick and dirty (untested) try at using Countable, as mentioned in [WYMeditor #440](https://github.com/wymeditor/wymeditor/issues/440)