code: public int countUsersWithGlobalPermissionExcludingUserPermission(DbSession dbSession, String organizationUuid,
      String permission, int userId) {
      return mapper(dbSession).countUsersWithGlobalPermissionExcludingUserPermission(organizationUuid, permission, userId);
    }
docs: The number of users who will still have the permission if the permission {@code permission}
  is removed from user {@code userId}. The anyone virtual group is not taken into account.
  Contrary to {@link #countUsersWithGlobalPermissionExcludingUser(DbSession, String, String, int)}, user
  still exists and may have the permission through groups.