code: def count_leading_spaces(s):
      ws = re.search(r"\S", s)
      if ws:
          return ws.start()
      else:
          return 0
  
file_path: hyperopt/docs/autogen.py
imports: import re
  import inspect
  import os
  import shutil
label_desc: Use image node_id 7 for calling a global function with example usage: count_leading_spaces(s) and returns: ws, int