count method

Future<int> count({
  1. Map? query,
})

Count the total items.

Implementation

Future<int> count({Map? query}) => _client.count(index: name, query: query);