int CountForProviderTransaction( int paymentGatewayId, string providerTransactionId )
Parameters
- paymentGatewayId
 - Id of the payment gateway
 - providerTransactionId
 - Reference of the provider's transaction
 
Return Value
The number of Transactions for given payment gateway Id and the provider transaction reference