New App pricing - Usage billing for a resource that can be created AND deleted - How to meter active count?

Hi,

reviewing the new App Pricing and I’m stuck on something.

My app lets merchants create and delete collections (a custom resource managed by the app). I want to bill based on how many active collections they currently have, not how many they’ve ever created.

The problem is the App Events API only accepts value > 0, so the meter only ever goes up. Sending +1 on creation is not the same as tracking active count.

Is there an official pattern for this? Would periodic snapshots work (sending current count once a day)? Also the negative reporting mentioned in the announcement. Does that apply here or is it only for correcting a specific past event like a bounced message?

And last, any advice on preventing merchants from gaming this by deleting and recreating collections right before the billing cycle closes?

Thank you