code: def test_counter():
      c = Counter(
          "test_counter", "A test counter", ("service", "tenant")
      )
      assert c.name == "test_counter"
      assert c.description == "A test counter"
      assert c.tag_keys == ("service", "tenant")
      assert c.type == "Counter"
      assert c.record(1, {"service": "mars", "tenant": "test"}) is None
  
imports: from .....tests.core import require_ray
  from ..ray_metric import Counter, Gauge, Meter, Histogram
label_desc: Use image node_id 2 for calling a global function with example usage: test_counter() without return types