Role Rating = max (roles) + if (number of selected roles > 1) then 1 else 0
I need both the maximum value of the selected roles and the number of selected roles.
Relationship Value = ( roleRating + relationshipRating ) * attitudeRating