private static void updateFoundNumAndUserName(final ILogin conn, final int foundNum, final String userName) {
        final String serviceName = conn.getName();

        //avoid recreation of same key/value pair
        final FoundNumCounter f = load(serviceName);
        if (f != null && f.getLong1() == foundNum && (userName.isEmpty() || userName.equals(f.getString1()))) {
            return;
        }

        removeAll(type, serviceName);
        add(type, serviceName, foundNum, 0, 0, 0, !userName.isEmpty() ? userName : f != null ? f.getLastLoginUserName() : "", "", "", "");
    }
Offline storage for the connector specific found number counter, mainly used in the NUMBER log template.
main/src/main/java/cgeo/geocaching/storage/extension/FoundNumCounter.java