#NEWLINE# @ property #NEWLINE# def instance_count( self ) : #NEWLINE# #INDENT# groups = self . instance_groups #NEWLINE# if ( not groups ) : #NEWLINE# #INDENT# return self . initial_instance_count #NEWLINE# #UNINDENT# count = 0 #NEWLINE# for group in groups : #NEWLINE# #INDENT# count += int ( group . num_instances ) #NEWLINE# #UNINDENT# return groups