Measure liquid amount from the pump

  1. assuming it's the same liquid over and over again (for the same system, or you would have serious cleaning issues): calibrate your water flow sensor for the liquid in question.
  2. weigh the container the liquid is poured in, and use that. You know the liquid, so you know the density, so the weight gives you the volume.