code: protected int count(final T key) {
      final AtomicInteger counter = this.map.get(key);
      if (null == counter) {
        return 0;
      }
      return counter.get();
    }
docs: Count int.
  
  @param key the key
  @return the int