It would be great if you could add the $facet aggregation for the stitch client SDK

https://docs.mongodb.com/manual/reference/operator/aggregation/facet/