calculate total under this priority quantity, value, proportion, equality]