count method

Future<int> count()

Returns the count of matching documents

Implementation

Future<int> count() async {
  final results = await get();
  return results.length;
}