There is no set number of payments. You can cancel any time you want after the first 12 months.
Unlike other theme parks which offer payment plans, a Six Flags Membership is a monthly program like the YMCA, your Netflix account, or any of the various other programs that get paid month to month. While there is a 12 month initial commitment, you can cancel any time you like after that.