Introduce QueryGraphCardinalityInput into LogicalPlanningContext
Keep label information when planning optional matches