Fix wordcount statistic bug
Move refresh_all_stats command to refresh_stats with noargs