@ApiStatus.Internal
  public static @NotNull PluginUpdatesService connectWithCounter(@NotNull Consumer<? super Integer> callback) {
    PluginUpdatesService service = new PluginUpdatesService();
    service.myCountCallback = callback;
    synchronized (ourLock) {
      SERVICES.add(service);
      if (ourPrepared) {
        callback.accept(getCount(getFilteredUpdateResult()));
        return service;
      }
    }
    calculateUpdates();
    return service;
  }
@ApiStatus.Internal
  public static @NotNull PluginUpdatesService connectWithCounter(@NotNull Consumer<? super Integer> callback)