A quantitative-minded God: balance and judgement in the late twelfth and early thirteenth centuries