code: def get_feats(self, doc):
      """
      Parameters
      ----------
      doc, Spacy Docs
  
      Returns
      -------
      Counter (unigram, bigram) -> count
      """
      ngram_counter = Counter()
      for sent in doc.sents:
          ngram_counter += Counter(self._get_unigram_feats(sent))
      return ngram_counter
  
imports: from collections import Counter
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
label_desc: Use image node_id 1 for calling the UnigramsFromSpacyDoc obj's underlying member method code with example usage: obj.get_feats(doc) and returns: ngram_counter