When one job has two installments and another has a replayed receipt, counting payment rows gives the wrong number of jobs. This SQLite example counts each eligible job on the first UTC day when it has both buyer acceptance and full seller settlement. Eight fictional jobs produce two completions on each of two days. The ZIP includes SQL, the expected output and instructions for adapting it to your own records. A later refund stays visible in the events table. The historical gross count uses a single currency.