code: def test_ragged_input_count(self, dtype):
      x = ragged_factory_ops.constant(
          [[], [], [3, 0, 1], [], [5, 0, 4, 4]], dtype
      )
      # pyformat: disable
      expected_output = [
          [0, 0, 0, 0, 0, 0],
          [0, 0, 0, 0, 0, 0],
          [1, 1, 0, 1, 0, 0],
          [0, 0, 0, 0, 0, 0],
          [1, 0, 0, 0, 2, 1],
      ]
      # pyformat: enable
      self.assertAllEqual(
          expected_output,
          self.evaluate(bincount_ops.bincount(arr=x, axis=-1)),
      )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import config
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import bincount_ops
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the TestDenseBincount obj's underlying member method code with example usage: obj.test_ragged_input_count(dtype) without return types