Using flow sensors is going to be problematic in the sense that you will need to calculate flow rate x time flowing to obtain an amount for the water transferred. Weight sensors are probably not realistic either. The former is only tricky , the latter is probably too expensive or impossible so it looks like your stuck calculating flow in both directions.