docs: private static int getNumberOfInserts(String messageKey) {
  
          String unInsertedMessage = nls.getString(messageKey);
          int numInserts = 0;
          // Not much point in going any further than 20 inserts!
          for (int i = 0; i < 20; i++) {
              if (unInsertedMessage.indexOf("{" + i + "}") != -1) {
                  numInserts++;
              }
              else {
                  // This message insert was not found
                  break;
              }
          }
  
          return numInserts;
      }