Calculating how much water is used