The PR #1743 added support for querying stats related to the Query and QueryRange API through the option WithStats. Unfortunately, there's no way for users to get back this info AFAIK: in fact, the stats is not unmarshaled in the queryResult struct.
Could you please expose to the API users this info?