Tracking zero counts

Neither has nor count are yet in the GraphQL queries.

Is it not has(pred) that fits your use case?