def count_by_product(self, **query):
    '\n        Perform a search, returning a count of for each matching product type.\n\n        :param dict[str,str|float|datacube.model.Range] query:\n        :returns: Sequence of (product, count)\n        :rtype: __generator[(datacube.model.DatasetType,  int)]]\n        '
    return self._do_count_by_product(query)
Perform a search, returning a count of for each matching product type.

:param dict[str,str|float|datacube.model.Range] query:
:returns: Sequence of (product, count)
:rtype: __generator[(datacube.model.DatasetType,  int)]]
def count_by_product(self, **query):
    '\n        Perform a search, returning a count of for each matching product type.\n\n        :param dict[str,str|float|datacube.model.Range] query:\n        :returns: Sequence of (product, count)\n        :rtype: __generator[(datacube.model.DatasetType,  int)]]\n        '
    return self._do_count_by_product(query)