modify WordCountTopology