#NEWLINE# @ property #NEWLINE# def acc_parent_count( self ) : #NEWLINE# #INDENT# parent_count = 0 #NEWLINE# parent = self . acc_parent #NEWLINE# while parent_count : #NEWLINE# #INDENT# parent_count += 1 #NEWLINE# parent = parent . acc_parent #NEWLINE# #UNINDENT# return parent_count