Get a correct unique document count by iterating through the facets and ...

...queying solr. Fixes #244