docstr: Returns the number of words in the dictionary.
docstr_tok: ["Returns","the","number","of","words","in","the","dictionary","."]
code: def __len__(self):
      """
      Returns the number of words in the dictionary.
      """
      return len(self.id2word)
  
file_path: pytext/pytext/data/xlm_dictionary.py
imports: import os
  from logging import getLogger
  import numpy
  import torch
  from pytext.utils.file_io import PathManager
label_desc: Use image node_id 2 for calling the Dictionary obj's underlying member method code with example usage: obj.__len__() and returns: len