For a ternary system, three components are present; temperature is also a variable. What is the maximum number of phases that may be present for a ternary system, assuming that pressure is held constant?