A quantitative approach in the ecclesiastical heritage appraisal