class_docstr: Counter with support for nan values.
code: def __init__(self, items):
      super().__init__(self._generate_items(items))
  
imports: from collections import Counter
  from contextlib import suppress
  from typing import NamedTuple
  import numpy
  from .None import is_scalar_nan
label_desc: Use image node_id 1 to create a new _NaNCounter object from inherited base classes: Counter with example: obj = _NaNCounter(items)