restored the count feature, used by the spell checker