/// Estimates the number of documents in the collection using collection metadata.
Estimates the number of documents in the collection using collection metadata.
Estimates the number of documents in the collection using collection metadata .
pub fn estimated_document_count(
        &self,
        options: impl Into<Option<EstimatedDocumentCountOptions>>,
    ) -> Result<u64> {
        RUNTIME.block_on(
            self.async_collection
                .estimated_document_count(options.into()),
        )
    }
pub fn estimated_document_count ( & self , options : impl Into < Option < EstimatedDocumentCountOptions > > , ) -> Result < u64 > { RUNTIME . block_on ( self . async_collection . estimated_document_count ( options . into ( ) ) , ) }
Estimates the number of documents in the collection using collection metadata.
Estimates the number of documents in the collection using collection metadata .
&self
options
impl Into<Option<EstimatedDocumentCountOptions>>