This should actually sum all of the scores of the associated comments and put the result into the link's score attribute.