Task: Text to Code
Input (English): SQL: SELECT DISTINCT payment_method_code FROM Invoices
Feedback: Also need to find total value of orders made through that methods .
Output (English): SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code