int (@NotNull Map<String, Map<String, BuildTargetState>> commitSourcesState, @Nullable Map<String, Map<String, BuildTargetState>> currentSourcesState) { return calculateAffectedModules(currentSourcesState, commitSourcesState, true).size(); }