code: def word_count(spk_transcript):
      return sum([len(w.split()) for w in spk_transcript])
  
file_path: NeMo/tests/collections/asr/test_diar_metrics.py
imports: from itertools import permutations
  import pytest
  import torch
  from nemo.collections.asr.metrics.der import calculate_session_cpWER, calculate_session_cpWER_bruteforce, get_online_DER_stats, get_partial_ref_labels
label_desc: Use image node_id 1 for calling a global function with example usage: word_count(spk_transcript) and returns: sum