eth_getBlockTransactionCountByNumber

Returns the number of transactions for the block matching the given block number.