code: def annotate_vocab_size(vocab_filename: str, vocab_size: tf.Tensor):
      """Adds annotation to retrieve the vocabulary size for `vocab_filename`."""
      tf.compat.v1.add_to_collection(
          VOCABULARY_SIZE_BY_NAME_COLLECTION,
          (vocab_filename, vocab_size),
      )
  
file_path: transform/tensorflow_transform/annotators.py
imports: import contextlib
  import os
  from typing import Callable, List, Optional
  import tensorflow
  from tensorflow_transform.graph_context import TFGraphContext
  from tensorflow_transform.keras_lib import tf_keras
  from tensorflow.python.trackable import base
label_desc: Use image node_id 8 for calling a global function with example usage: annotate_vocab_size(vocab_filename, vocab_size) without return types