upcall: Cache the number of flows from the datapath.