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 and style books). The language of fairy tales might imply the use of more impersonal structures, and seems to sound better in this context.