I need the number of documents stored in a collection in my Azure Cosmos Db database. How can I get the count using LINQ query on the IQueryable object?
docDbClient.CreateDocumentQuery<TResult>().Count()
If I do above, I am unable to follow it up with .AsDocumentQuery() method.