eth_getBlockTransactionCountByNumber - Polygon Amoy
Summary
Returns the number of transactions in a block matching the given block number.Parameters
1. Block Number Quantity or Tag
Hex block number, or the string 
latest, earliest or pendingExample: 
i.e. latest or pending