You can drive up to 6 axis at any one time,  it all depends on how you want to control the heads, if all are on a common Y and Z axis then you can have as many as you want,  if all the heads have independent movement then the 6 axis limit comes into play.
Graham.