python count multiple characters in string