Updated peer calculations to count only unique student rows