hi guys, i'm wondering how i would go about this.

I have cards with a marker - CardValue = X, where X equals 1, 2 or 3.

But then i want to count the combined value of the cards listed in a deck.

I'm currently successfully counting the cards themselves, but i'm looking for the combine value.

Your insight is greatly appreciated.