added words counting in text