added #customers_with_pending_invoices for merchant