#NEWLINE# def max_counter( children ) : #NEWLINE# #INDENT# '\n\tLoops through a children iterator and returns the maximum counter id.\n\n\t:param children: an iteratable object containing strings with the \t  zookeeper id standard\n\t:rtype: Maximum id\n\t' #NEWLINE# numbers = [ ( - 1 ) ] #NEWLINE# for child in children : #NEWLINE# #INDENT# numbers . append ( counter_value ( children ) ) #NEWLINE# #UNINDENT# return max ( numbers )