method Collection.prototype.countDocumentsimport { Collection } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts"; countDocuments(filter?: Filter<T>, options?: CountOptions): Promise<number>Parametersoptionalfilter: Filter<T>optionaloptions: CountOptionsReturnsPromise<number>