Mongo.count_documents

You're seeing just the function count_documents, go back to Mongo module for more information.
Link to this function

count_documents(topology_pid, coll, filter, opts \\ [])

View Source

Specs

Returns the count of documents that would match a find/4 query.

Options

  • :limit - Maximum number of documents to fetch with the cursor
  • :skip - Number of documents to skip before returning the first