public int getBlobCount() {
    return versionedHashes.map(List::size).orElse(0);
  }
Returns the number of blobs this transaction has, or 0 if not a blob transaction type

@return return the count
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/Transaction.java