def count(self, **query):
    '\n        Perform a search, returning count of results.\n\n        :param dict[str,str|float|datacube.model.Range] query:\n        :rtype: int\n        '
    result = 0
    for (product_type, count) in self._do_count_by_product(query):
        result += count
    return result
Perform a search, returning count of results.

:param dict[str,str|float|datacube.model.Range] query:
:rtype: int
def count(self, **query):
    '\n        Perform a search, returning count of results.\n\n        :param dict[str,str|float|datacube.model.Range] query:\n        :rtype: int\n        '
    result = 0
    for (product_type, count) in self._do_count_by_product(query):
        result += count
    return result