SELECT count(DISTINCT payment_method_code) FROM parties
Count the number of different payment method codes used by parties.
SELECT count ( DISTINCT payment_method_code ) FROM parties
select count ( distinct payment_method_code ) from parties
Count the number of different payment method codes used by parties .