code: def depth(node):
      return len(flatten(node))
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...asttools import Visitor
  import sys
  import _ast
  from warnings import warn
label_desc: Use image node_id 1 for calling a global function with example usage: depth(node) and returns: len