Histogram facets with a query