How many pipe segments will be passed to get the water flowing again?

This is part of a larger puzzle hunt from Escape Rooms of New England. Click here to go to the main page.