docs: public int totalInstances() {
      int total = 0;
      for(int i = 0; i < confusion.length; i++) {
        for(int j = 0; j < confusion[i].length; j++) {
          total += confusion[i][j];
        }
      }
      return total;
    }