public void incrementAffected(HolderType type, int delta) {
        switch (type) {
            case USER:
                incrementAffectedUsers(delta);
                break;
            case GROUP:
                incrementAffectedGroups(delta);
                break;
            default:
                throw new AssertionError();
        }
    }
Keeps track of the number of nodes, users and groups that were affected in a BulkUpdate operation.
common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateStatistics.java