Show txn_id, account_id, amount and account_txns: how many transactions that account has in total.
txn_id
account_id
amount
account_txns
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.