code: def test_count_variant_types(self):
      variant_stats_lite = collections.namedtuple(
          "variant_stats_lite", ["variant_type"]
      )
      variant_stats = [
          variant_stats_lite(variant_type="A"),
          variant_stats_lite(variant_type="B"),
          variant_stats_lite(variant_type="C"),
          variant_stats_lite(variant_type="A"),
          variant_stats_lite(variant_type="B"),
      ]
      truth_counts = {"A": 2, "B": 2, "C": 1}
      self.assertEqual(
          vcf_stats._count_variant_types(variant_stats), truth_counts
      )
  
imports: import collections
  import json
  import os
  import tempfile
  from absl.testing import absltest
  from absl.testing import parameterized
  import tensorflow
  from deepvariant import testdata
  from deepvariant import vcf_stats
  from third_party.nucleus.io import vcf
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import variant_utils
  from third_party.nucleus.util import variantcall_utils
label_desc: Use image node_id 8 for calling the VcfStatsTest obj's underlying member method code with example usage: obj.test_count_variant_types() without return types