public int getVisibleCachesCount(final int exceptOverlayId, final int countForThisOverlay) {
        int result = countForThisOverlay;
        if (this.baseOverlay != null && exceptOverlayId != BASE_OVERLAY_ID) {
            result += this.baseOverlay.getVisibleCachesCount();
        }
        if (this.storedOverlay != null && exceptOverlayId != STORED_OVERLAY_ID) {
            result += this.storedOverlay.getVisibleCachesCount();
        }
        if (this.liveOverlay != null && exceptOverlayId != LIVE_OVERLAY_ID) {
            result += this.liveOverlay.getVisibleCachesCount();
        }
        return result;
    }
Enables the stored cache layer. No disabling again!

@param mapOptions isStoreEnabled true - enable stored layer, false - leave untouched
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/caches/CachesBundle.java