What is the average quantities ordered with payment method code "MasterCard" on invoices?
return invoices ;return payment methods of  #1 ;return codes of  #2 ;return #1 where #3 is  MasterCard ;return quantities ordered on  #4 ;return average of  #5
['select', 'project', 'project', 'comparative', 'project', 'aggregate']