count number of unique characters in a string python