docs: def count(self, q='*:*', fq=None):
          """Return the number of entries that match query."""
          params = {'q': q, 'rows': '0'}
          if fq is not None:
              params['fq'] = fq
          res = self.search(params)
          hits = res['response']['numFound']
          return hits