code: public long incrementAndGet(V value) {
          synchronized (countMap) {
              countMap.put(value, getCount(value) + 1);
              return countMap.get(value);
          }
      }
docs: Increment and get long.
  
  @param value the value
  @return the long