code: func (s *PublicTransactionPoolAPI) GetBlockTransactionCountByHash(ctx context.Context, blockHash common.Hash) *hexutil.Uint {
  	if block, _ := s.b.GetBlock(ctx, blockHash); block != nil {
  		n := hexutil.Uint(len(block.Transactions()))
  		return &n
  	}
  	return nil
  }
docs: // GetBlockTransactionCountByHash returns the number of transactions in the block with the given hash.