docs: public int getTotalLockCount() {
        int count = 0;
        for (ReentrantReadWriteLock lock : sharedLocks) {
           count += lock.getReadLockCount();
           count += lock.isWriteLocked() ? 1 : 0;
        }
        return count;
     }