getMaxMajorEntryCount

Returns the maximum number of major entries that can be present, based on minX, maxX, and xStep.