public String createNonContainedKey(final String prefix) {
        int idx = 1;
        while (containsKey(prefix + idx)) {
            idx++;
        }
        return prefix + idx;
    }
returns number of vars in this instance
main/src/main/java/cgeo/geocaching/utils/formulas/VariableMap.java