code: def _get_word_n_chars(word):
      n_chars = 0
      for token in word.tokens:
          if token.text != BLANK_TOKEN:
              n_chars += len(token.text)
      return n_chars
  
file_path: NeMo/tools/nemo_forced_aligner/utils/make_ass_files.py
imports: import math
  import os
  import soundfile
  from utils.constants import BLANK_TOKEN, SPACE_TOKEN
  from utils.data_prep import Segment, Token, Word
label_desc: Use image node_id 4 for calling a global function with example usage: _get_word_n_chars(word) and returns: n_chars