WooCommerce AI analytics should ask, not count
An AI chat over your WooCommerce orders will hand you confident numbers that don’t match Analytics. Let the model pick the question and let your code answer it. Here’s how I’d wire that with one REST endpoint and a strict args schema.