public long getPendingFuturesCount() {
    return executors.stream().mapToLong(MockExecutorService::getPendingFuturesCount).sum();
  }
Get the count of pending tasks

@return the count of pending tasks
testutil/src/main/java/org/hyperledger/besu/testutil/DeterministicEthScheduler.java