def count_iterables(iterables, synchronize=False):
 if synchronize:
  op = max
 else:
  op = (lambda x, y: (x * y))
 return reduce(op, [len(func()) for (_, func) in list(iterables.items())])

def count_iterables ( iterables , synchronize = False ) : if synchronize : op = max else : op = ( lambda x , y : ( x * y ) ) return reduce ( op , [ len ( func ( ) ) for ( _ , func ) in list ( iterables . items ( ) ) ] )
return the number of iterable expansion nodes .