count occurrences of multiple characters in string python