Task: Text to Code
Input (English): SQL: SELECT T1.card_type_code , Count ( * ) FROM Customers_Cards AS T1 JOIN Financial_Transactions AS T2 ON T1.card_id = T2.card_id GROUP BY T2.transaction_type
Feedback: Change transaction type with card type code , Ensure that number of corresponding rows to each value of customers cards table .
Output (English): SELECT card_type_code ,  count(*) FROM Customers_cards GROUP BY card_type_code