protected int getMapNameLength(String[] keys) {
    return keys.length - 1;
  }
@param keys property key fragments
@return number of fragments composing the map name in the fragments array
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyManager.java