how to calculate aggregate score