class_docstr: A simple counter object that can periodically sync with a parent.
class_docstr_tok: ["A","simple","counter","object","that","can","periodically","sync","with","a","parent","."]
code: def save(self) -> Mapping[str, Mapping[str, Number]]:
      return {"counts": self._counts, "cache": self._cache}
  
file_path: acme/acme/utils/counting.py
imports: import threading
  import time
  from typing import Dict, Mapping, Optional, Union
  from acme import core
label_desc: Use image node_id 4 for calling the Counter obj's underlying member method code with example usage: obj.save() and returns: dict