code: def list_depth_count(input_list):
      """
      This function count the maximum depth of a nested list (recursively)
      This is used to check compatibility of users' input and system API
      only to be used for list or tuple
      """
      if not isinstance(input_list, (list, tuple)):
          return 0
      if len(input_list) == 0:
          return 1
      return 1 + max(map(list_depth_count, input_list))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import datetime
  import os
  import re
  from functools import partial
  import numpy
  import tensorflow
  from scipy import ndimage
  from six import string_types
label_desc: Use image node_id 2 for calling a global function with example usage: list_depth_count(input_list) and returns: unknown, int, int