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"
      c.record(1, {"service": "mars", "tenant": "test"})
      c.record(2, {"service": "mars", "tenant": "test"})
      assert c.value == 3
  
imports: from ..console_metric import Counter, Gauge, Meter, Histogram
label_desc: Use image node_id 1 for calling a global function with example usage: test_counter() without return types