class_docstr: Runing statistics for counting tokens being switched out.
code: def __init__(self, changed: int, total: int):
      self.changed = changed
      self.total = total
  
imports: import random
  import numpy
  from onmt.constants import DefaultTokens
  from onmt.transforms import register_transform
  from .transform import Transform, ObservableStats
label_desc: Use image node_id 1 to create a new SwitchOutStats object from inherited base classes: ObservableStats with example: obj = SwitchOutStats(changed, total)