how to calculate UI aggregate score