zj first
output state and count of topic
Merge pull request #7 from JohnaLiu/zhijiao_branch

zj first