Go through the loop and meticulously count all the times the water must do something other than go straight.