how many Invoices there
select count ( * ) from invoices
how many master card there
select count ( * ) from invoices where payment_method_code = "MasterCard"
how many visa card use to payment
select count ( * ) from invoices where payment_method_code = "Visa"