add flow statistic