code: def function_entry_num(job_id):
      from ray._private.ray_constants import KV_NAMESPACE_FUNCTION_TABLE
  
      return (
          len(
              _internal_kv_list(
                  b"IsolatedExports:" + job_id,
                  namespace=KV_NAMESPACE_FUNCTION_TABLE,
              )
          )
          + len(
              _internal_kv_list(
                  b"RemoteFunction:" + job_id,
                  namespace=KV_NAMESPACE_FUNCTION_TABLE,
              )
          )
          + len(
              _internal_kv_list(
                  b"ActorClass:" + job_id,
                  namespace=KV_NAMESPACE_FUNCTION_TABLE,
              )
          )
          + len(
              _internal_kv_list(
                  b"FunctionsToRun:" + job_id,
                  namespace=KV_NAMESPACE_FUNCTION_TABLE,
              )
          )
      )
  
imports: import mock
  import subprocess
  import sys
  import pytest
  import ray
  from ray._raylet import check_health
  from ray._private.test_utils import Semaphore, client_test_enabled, wait_for_condition, get_gcs_memory_used
  from ray.experimental.internal_kv import _internal_kv_list
label_desc: Use image node_id 11 for calling a global function with example usage: function_entry_num(job_id) and returns: unknown