Measure liquid amount from the pump

Why would you get air in the pumps? With dissimilar liquids (especially including foodstuffs) you normally have to dedicate a pump/hose/etc set to one liquid anyway.

Try out various such flow meters.

Or if the liquids are small volume, use a peristaltic pump.