Quality Quantification Theory