count distinct items in stored procedure variable
===

In a Stored Procedure, I have value1, value2, value3, ..., value8

value outcomes will be between A and F.

After values are stored into variable, is there a way to see how many distinct values are stored in value1~8?

     example) 
     value1 = A; value2 = A; value3 = B; value4 = B;
     value5 = B; value6 = D; value7 = D; value8 = F;

Then after my count(distinct *), the result should be 4 different group.
