class_docstr: Counts the number of elements, i.e. the
  number of `update`'s called
class_docstr_tok: ["Counts","the","number","of","elements",",","i.e",".","the","number","of","`","update","`","'s","called"]
code: def __init__(self, name: Optional[str] = None) -> None:
      super().__init__(name=name)
      self.n = None
  
imports: from typing import Any, Callable, List, Optional, TYPE_CHECKING
  import torch
  from torch import Tensor
label_desc: Use image node_id 1 to create a new Count object from inherited base classes: Stat with example: obj = Count(name)