Measuring outgassing fluids with a flow sensor can be a challenge. When a bubble reaches the sensor, the flow instantly drops to zero and rises again very quickly. Using fast differential-pressure flow sensors, it is possible to map these events and minimize measurement errors.
Link: measuring air in liquid.pdf
https://reseatech.ch/wp-content/uploads/2019/01/AN_air_in_liquid_V1_HD.pdf