added words count feature