Count total of different alphabet

  alphabet, c++, class

I am trying to count the total of different alphabets used in a vector of strings.

for exemple if inside the vector the strings are ; Marsha, Rose, Joe
the output should be : 9 because it counts the duplicate characters only one time.

Can anyone help?

Source: Windows Questions C++