observedSumScore function

Compute the observed sum-score