docs: public int countExclusiveLocksInProject(CmsProject project) {
  
          int count = 0;
          Iterator<CmsLock> itLocks = OpenCms.getMemoryMonitor().getAllCachedLocks().iterator();
          while (itLocks.hasNext()) {
              CmsLock lock = itLocks.next();
              if (lock.getEditionLock().isInProject(project)) {
                  count++;
              }
          }
          return count;
      }