public void add(Item item) {
      int size = item.writeSize();

      count++;
      totalSize += size;

      if (size > largestSize) {
        largestSize = size;
      }

      if (size < smallestSize) {
        smallestSize = size;
      }
    }
Incorporates a new item. This assumes the type name matches.

@param item {@code non-null;} item to incorporate
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/Statistics.java