test for facet count bug fixing