Check the invoices record and compute the average quantities ordered with the payment method "MasterCard".
return invoices ;return payment methods of  #1 ;return #1 where #2 is  MasterCard ;return quantities ordered of  #3 ;return average of  #4
['select', 'project', 'comparative', 'project', 'aggregate']