code: def get_num_uploads():
      manager = serialization.get_or_create_manager()
      stats = ray.get(manager.export_stats.remote())
      return stats.get("num_uploads", 0)
  
file_path: ray/python/ray/workflow/tests/test_serialization.py
imports: import pytest
  import ray
  from ray import workflow
  from ray.tests.conftest import *
  from ray.workflow import serialization
label_desc: Use image node_id 3 for calling a global function with example usage: get_num_uploads() and returns: stats