I'm pretty sure its 4, if not my bad.
1 gallon = 128 ounces. Therefore 64 cups = 512/128 = 4 gallons