@Override
  protected @NotNull Set<MetricEvent> getMetrics(@NotNull Project project) {
    SpellCheckerSettings settings = SpellCheckerSettings.getInstance(project);
    Set<MetricEvent> result =
      ContainerUtil.newHashSet(ALL_BUNDLED_ENABLED.metric(true),
                        MAX_SPELLCHECKER_SUGGESTIONS.metric(5),
                        CUSTOM_DIC_COUNT.metric(settings.getCustomDictionariesPaths().size()),
                        USE_SINGLE_DICT_TO_SAVE.metric(settings.isUseSingleDictionaryToSave()));

    if (settings.isUseSingleDictionaryToSave()) {
      result.add(DEFAULT_DICT_TO_SAVE.metric(settings.getDictionaryToSave()));
    }
    return result;
  }
@Override
  protected @NotNull Set<MetricEvent> getMetrics(@NotNull Project project)