I'm not sure if this is what you want but this will print the most frequent character followed with the number of occurrences:
import collections
char, num = collections.Counter(stringToData).most_common(1)[0]
print "In your string, the most frequent character is %s, which occurred %d times" % (char, num)
This returns a tuple of the most frequent character and the number of occurrences.
collections.Counter(stringToData).most_common(1)[0]
#output: for example: ('f', 5)
Example:
stringToData = "aaa bbb ffffffff eeeee"
char, num = collections.Counter(stringToData).most_common(1)[0]
print "In your string, the most frequent character is %s, which occurred %d times" % (char, num)
Output is:
In your string, the most frequent character is f, which occurred 8 times