code: def __init__(self, key: str, title: str, actions: List[str]):
      super().__init__(key)
      self.log_key = f"actions/{title}"
      self.actions = actions
      SummaryWriterContext.add_custom_scalars_multilinechart(
          [f"{self.log_key}/{action_name}" for action_name in actions],
          category="actions",
          title=title,
      )
  
imports: import logging
  from collections import deque
  from typing import Any, Callable, Deque, Dict, List, Optional
  import numpy
  import torch
  from reagent.core.tensorboardX import SummaryWriterContext
  from reagent.core.tracker import Aggregator
label_desc: Use image node_id 1 to create a new TensorBoardActionCountAggregator object from inherited base classes: TensorAggregator with example: obj = TensorBoardActionCountAggregator(key, title, actions)