Parameters
    • [callback] «Function»
    Returns:

    This method is deprecated. If you want to count the number of documents in a collection, e.g. , use the function instead. Otherwise, use the function instead.

    Example: