added statistic counter