$ 0 0 I would use the Sales Order Recap report in Sales Order/Reports. Modify and add a running total to give you a count on the number of invoices.