class_docstr: A class that atomically increments a counter
class_docstr_tok: ["A","class","that","atomically","increments","a","counter"]
docstr: Increments the counter by the given amount
  :param amount: the amount to increment by (default 1)
  :return:       the incremented value of the counter
docstr_tok: ["Increments","the","counter","by","the","given","amount",":","param","amount",":","the","amount","to","increment","by","(","default","1",")",":","return",":","the","incremented","value","of","the","counter"]
code: def increment(self, amount=1):
      """Increments the counter by the given amount
      :param amount: the amount to increment by (default 1)
      :return:       the incremented value of the counter
      """
      self.__lock.acquire()
      self.__count += amount
      v = self.value()
      self.__lock.release()
      return v
  
imports: import codecs
  import os
  import re
  import sys
  import tarfile
  import threading
  import unicodedata
  import urllib
  from glob import glob
  from multiprocessing.pool import ThreadPool
  from os import makedirs, path
  import pandas
  from bs4 import BeautifulSoup
  from tensorflow.python.platform import gfile
  from deepspeech_training.util.downloader import maybe_download
label_desc: Use image node_id 2 for calling the AtomicCounter obj's underlying member method code with example usage: obj.increment(amount) and returns: v