public long size() {
            return allocationFailureReasons.size();
        }
Provides convenient methods for tallying failures.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/CapacityChecker.java