Added initial code for pre-checking facet counts