public long getTransactionCount(final Address address) {
    return getTransactionCount(address, headBlockNumber());
  }
Returns the number of transactions sent from the given address in the latest block.

@param address The address whose sent transactions we want to count.
@return The number of transactions sent from the given address.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/query/BlockchainQueries.java