add the statistic for transaction count