code: def _recursive_folder_size(folder):
      folder_size = 0
      for path, _, files in os.walk(folder):
          for flename in files:
              filename = os.path.join(path, flename)
              folder_size += os.path.getsize(filename)
      return folder_size
  
imports: import os
  import numpy
  from petastorm.local_disk_cache import LocalDiskCache
label_desc: Use image node_id 1 for calling a global function with example usage: _recursive_folder_size(folder) and returns: folder_size