added text analysis feature with wordCount