@property<EOL><INDENT>def Nstars(self):<DEDENT>
if self._Nstars is None:<EOL><INDENT>N = {}<EOL>for n in self.get_model_nodes():<EOL><INDENT>if n.index not in N:<EOL><INDENT>N[n.index] = <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>N[n.index] += <NUM_LIT:1><EOL><DEDENT><DEDENT>self._Nstars = N<EOL><DEDENT>return self._Nstars<EOL>
dictionary of number of stars per system