add total statistic