Add support for hierarchical facet counting and a dimension format to facet summary