code: def count_words(path):
      counts = collections.Counter()
      for words in read_file(path):
          for word in words:
              counts[word] += 1
  
      vocab = [word for (word, _) in counts.most_common(40000)]
      return vocab
  
file_path: chainer/examples/chainermn/seq2seq/europal.py
imports: from __future__ import unicode_literals
  import collections
  import gzip
  import io
  import os
  import re
  import numpy
  import progressbar
label_desc: Use image node_id 5 for calling a global function with example usage: count_words(path) and returns: vocab