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