add Trie related: build Trie, word count