The required n attribute is the number of loops in this set.
Source
<xs:element name="LoopSet" type="LoopSetType"><xs:annotation><xs:documentation>The global LoopSet element is a collection of all model loops.</xs:documentation></xs:annotation></xs:element>