docs: public int getErrorCount() {
      int count = 0;
      for (AggregatedTestResultEvent t : getTests()) {
        if (t.getStatus() == TestStatus.ERROR)
          count++;
      }
      
      for (FailureMirror m : getFailures()) {
        if (m.isErrorViolation())
          count++;
      }
      return count;
    }