Measuring and controlling the flow of