Make all Metrics types use QueryGraphCardinalityInput