If you want to add this to report 109, then you would do it in the “FOR i := 1 TO 5 DO BEGIN” loop on the customer.
You set the “Date Filter” for each loop (start and end dates for the period). Then you can get the number of posted invoices by using CALCFIELDS(“No. of Pstd. Invoices”);