code: def _make_feature_stats_proto_uniques(
      feature_path: types.FeaturePath,
      num_uniques: int,
  ) -> statistics_pb2.FeatureNameStatistics:
      """Makes a FeatureNameStatistics proto containing the uniques stats."""
      result = statistics_pb2.FeatureNameStatistics()
      result.path.CopyFrom(feature_path.to_proto())
      result.string_stats.unique = num_uniques
      return result
  
file_path: data-validation/tensorflow_data_validation/utils/top_k_uniques_stats_util.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import List, Mapping, Optional, Union
  import apache_beam
  import six
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils import stats_util
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
  from tfx_bsl.types import tfx_namedtuple
label_desc: Use image node_id 5 for calling a global function with example usage: _make_feature_stats_proto_uniques(feature_path, num_uniques) and returns: result