Task: Text to Code
Input (English): List the distinct payment method codes with the number of orders made
Output (English): SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code