Fluentd plugin to calc messages