fixed bug:return wrong total_topic_num type

Signed-off-by: TomWu <phperwuhan@gmail.com>