I have transaction table where senderId & receiver id columns i need total count of sender id, receiver id of successful,failed ,Reject transactions. i count successfull