code: def count_textfiles(files, workers=1):
      c = Counter()
      with ProcessPoolExecutor(max_workers=workers) as executor:
          for c_ in executor.map(count_words, files):
              c.update(c_)
      return c
  
file_path: deepwalk/deepwalk/walks.py
imports: import logging
  from io import open
  from os import path
  from time import time
  from multiprocessing import cpu_count
  import random
  from concurrent.futures import ProcessPoolExecutor
  from collections import Counter
  from six.moves import zip
  from .None import graph
label_desc: Use image node_id 2 for calling a global function with example usage: count_textfiles(files, workers) and returns: c