@ApiStatus.Internal
  public static long getWriteActionCounter() {
    ApplicationManager.getApplication().assertReadAccessAllowed();
    return ourWriteActionCounter.get();
  }
@ApiStatus.Internal
  public static long getWriteActionCounter()