code: def get_document_lengths_in_tokens(self):
      return self.get_parsed_docs().apply(len).values
  
imports: import sys
  from typing import Dict, Hashable
  import pandas
  from scattertext.DataFrameCorpus import DataFrameCorpus
  from scattertext.indexstore.IndexStore import IndexStore
label_desc: Use image node_id 4 for calling the ParsedCorpus obj's underlying member method code with example usage: obj.get_document_lengths_in_tokens() and returns: self