i think that's the correct way of thinking. That seems as the preferred matching, however сколько рыцарей пытались это сделать might also be correct (there might be preferences explained in grammar...