class ScenarioService {

    public List<ScenarioIgnoreSourceDTO> getIgnoredScenarioCounts(long projectId) {
        // All database severities + special Severity.ALL
        List<SeverityDTO> severitiesWithAll = severityService.getSeveritiesWithAll(projectId);
        String defaultSeverityCode = severityService.getDefaultSeverityCode(severitiesWithAll);

        List<ScenarioIgnoreSourceDTO> resultList = new ArrayList<>();
        fillCountsInto(projectId, resultList, severitiesWithAll, defaultSeverityCode);
        fillScenariosInto(projectId, resultList, severitiesWithAll, defaultSeverityCode);
        addGlobalSource(resultList);
        sort(resultList);
        return resultList;
    }

}