code: def test_reduce_batch_weighted_counts_weights_none_force(
      self, x, filter_regex, expected_result, function_handler
  ):
      input_signature = [tf.TensorSpec(None, tf.string)]
  
      @function_handler(input_signature=input_signature)
      def _reduce_batch_weighted_counts(x):
          (
              unique_x,
              summed_weights_per_x,
              summed_positive_per_x_and_y,
              counts_per_x,
          ) = tf_utils.reduce_batch_weighted_counts(
              x, force=True, filter_regex=filter_regex
          )
          self.assertIsNone(summed_weights_per_x)
          self.assertIsNone(summed_positive_per_x_and_y)
          return unique_x, counts_per_x
  
      expected_unique_x, expected_counts_per_x = expected_result
      unique_x, counts_per_x = _reduce_batch_weighted_counts(x)
      self.assertAllEqual(unique_x, expected_unique_x)
      self.assertAllEqual(counts_per_x, expected_counts_per_x)
  
imports: import os
  import numpy
  from packaging import version
  import tensorflow
  from tensorflow_transform import analyzers
  from tensorflow_transform import annotators
  from tensorflow_transform import tf_utils
  from tensorflow_transform import test_case
  from tensorflow.python.framework import composite_tensor
label_desc: Use image node_id 7 for calling the TFUtilsTest obj's underlying member method code with example usage: obj.test_reduce_batch_weighted_counts_weights_none_force(x, filter_regex, expected_result, function_handler) and returns: unique_x,  counts_per_x