mongoc_collection_count(3) on Linux
The text 25ee2f8c898a, as Debian 9 (Stretch) shipped it.
This function shall execute a count query on the underlying 'collection'. The bson 'query' is not validated, simply passed along as appropriate to the server. As such, compatibility and errors should be validated in the appropriate server documentation.