code: def interceptor(e):
      global num_exceptions
      num_exceptions += 1
  
imports: import sys
  import time
  import ray
label_desc: Use image node_id 1 for calling a global function with example usage: interceptor(e) without return types