def _max_recursion_depth(obj):
neurites = obj.neurites if hasattr(obj, '<STR_LIT>') else [obj]<EOL>return max(sum(<NUM_LIT:1> for _ in neu.iter_sections()) for neu in neurites)<EOL>
Estimate recursion depth, which is defined as the number of nodes in a tree