code: public int getNumberOfPoints(String monitorDir) throws IOException {
      if (!recoveryTimes.containsKey(monitorDir)) {
        return 0;
      }
      return recoveryTimes.get(monitorDir).getNumberOfPoints();
    }
docs: Test