Measure liquid amount from the pump