public int size() {
        if (mGarbage) {
            gc();
        }

        return mSize;
    }
Returns the number of key-value mappings that this LongSparseArray
currently stores.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/LongSparseArray.java