code: protected int getChildrenLimit() {
          final List<String> acceptHeaders = headers.getRequestHeader(ACCEPT);
          if (acceptHeaders != null && acceptHeaders.size() > 0) {
              final List<String> accept = Arrays.asList(acceptHeaders.get(0).split(","));
              if (accept.contains(TEXT_HTML)) {
                  // Magic number '100' is tied to common-metadata.vsl display of ellipses
                  return 100;
              }
          }
  
          final List<String> limits = headers.getRequestHeader("Limit");
          if (null != limits && limits.size() > 0) {
              try {
                  return Integer.parseInt(limits.get(0));
  
              } catch (final NumberFormatException e) {
                  LOGGER.warn("Invalid 'Limit' header value: {}", limits.get(0));
                  throw new ClientErrorException("Invalid 'Limit' header value: " + limits.get(0), SC_BAD_REQUEST, e);
              }
          }
          return -1;
      }
docs: Calculate the max number of children to display at once.
  
  @return the limit of children to display.