public int getCount(final Severity severity) {
        final Set<StoredError> storedErrors = errorMap.get(severity);
        return storedErrors != null
                ? storedErrors.size()
                : 0;
    }
Stores details of warnings, errors and fatal errors.
stroom-core-client-widget/src/main/java/stroom/editor/client/view/Indicator.java