Just for fun, lets simplify your code. You can use a set() on the initial string to get a list of the unique characters, then just use the count method of the list.
def histogram(L):
d = {letter:L.count(letter) for letter in set(L)}
for key in d:
print "{} | {}".format(key, d[key]}