Sarah uses a recipe to make 4 gallons of her favorite mixed-berry juice. The containers she plans to use to store the juice have a capacity of 1 pint.

How many containers will Sarah need?