     (let [remaining-fields (rest field-hierarchy)
           next-field (first remaining-fields)
           buckets (get aggregations-for-field :buckets)
-          response (r/map->HierarchicalFacet {:field field
-                                              :value-count-maps []})]
+          response (r/map->HierarchicalFacet {:field field})]
       (->> (for [bucket buckets
                  :let [field-key (get bucket :key)
                        coll-count (get-in bucket [:coll-count :doc_count])

               (r/map->ValueCountMaps
                 {:value field-key
                  :count coll-count})))
           (into [])
           (assoc response :value-count-maps)))))

(defn- science-keywords-bucket->facets

(defn- terms-facet
  [field]
  ;; We shouldn't try to handle this many different values.
  ;; We should have a limit and if that's exceeded in the elastic response we should note that in
  ;; the values returned. This can be handled as a part of CMR-1101.
  {:terms {:field field :size 10000}})

(def ^:private collection-count-aggregation
