first draft of word counting support in cm via solr