add number of flows