export function countPlannedOperations(scopePlans) {
    return scopePlans.reduce((total, scopePlan) => {
        const extensionOperations = scopePlan.materializationExtensions.reduce((count, extension) => count +
            extension.operations.filter((entry) => entry.action !== 'skip').length, 0);
        return (total +
            [...scopePlan.plan.entries, ...scopePlan.plan.removals].filter((entry) => entry.operation !== 'skip').length +
            extensionOperations);
    }, 0);
}
