docs: public int getNumErrors() {
          int numErrors = 0;
          if (getBuildData().getErrorDatabase() != null && getBuildData().getErrorDatabase().getErrors(
                  getBuildData().getBuildLocale()) != null) {
              for (final TopicErrorData errorData : getBuildData().getErrorDatabase().getErrors(getBuildData().getBuildLocale())) {
                  numErrors += errorData.getItemsOfType(ErrorLevel.ERROR).size();
              }
          }
          return numErrors;
      }