History statistics function
Weechat changes