Postcard from Cuenca, Spain: Commanding views of and from the historic center

At the top of Cuenca, it appears unconquerable.

How many lives were lost during the months and months it took for Alfonso VIII (1155-1214) to successfully lay siege to this Moorish stronghold surrounded by gorges on all but one side?