put wordintextcount creation as a callback to creating a text so that this will also be done when a text is added in another way than with CorpusParser