count frequency of characters in string python