Data ONTAP supports up to 400 RAID groups per storage system or active/active configuration.
When configuring your aggregates, keep in mind that each aggregate requires at least one RAID group and that the total of all RAID groups in a storage system cannot exceed 400.