class_docstr: A dataclass shape-compatible with keyedvectors.SimpleVocab, extended to record
  details of string document tags discovered during the initial vocabulary scan.
  
  Will not be used if all presented document tags are ints. No longer used in a
  completed model: just used during initial scan, and for backward compatibility.
class_docstr_tok: ["A","dataclass","shape-compatible","with","keyedvectors.SimpleVocab",",","extended","to","record","details","of","string","document","tags","discovered","during","the","initial","vocabulary","scan",".","Will","not","be","used","if","all","presented","document","tags","are","ints",".","No","longer","used","in","a","completed","model",":","just","used","during","initial","scan",",","and","for","backward","compatibility","."]
code: def count(self, new_val):
      self.doc_count = new_val
  
imports: import logging
  import os
  from collections import namedtuple, defaultdict
  from collections.abc import Iterable
  from timeit import default_timer
  from dataclasses import dataclass
  from numpy import zeros, float32, vstack, integer, dtype
  import numpy
  from gensim import utils, matutils
  from gensim.utils import deprecated
  from gensim.models import Word2Vec, FAST_VERSION
  from gensim.models.keyedvectors import KeyedVectors, pseudorandom_weak_vector
label_desc: Use image node_id 2 for calling the Doctag obj's underlying member method code with example usage: obj.count(new_val) without return types