included code for wordcount topology