@Override
protected void checkHeaders(final Facet facet) {
try {
super.checkHeaders(facet);
final DistinctQueryResultChecker checker = (DistinctQueryResultChecker) getChecker();
final HasDistinct castFacet = (HasDistinct) facet;
checker.checkTotalDistinctCount(castFacet.getDistinctCount());
} catch(final AssertionError e) {
System.out.println("WARNING: Validation failed, cause: " + e);
}
}