LofD = [{'name': 'johnny', 'surname': 'smith', 'age': 53}, {'name':
    'johnny', 'surname': 'ryan', 'age': 13}, {'name': 'jakob', 'surname':
    'smith', 'age': 27}, {'name': 'aaron', 'surname': 'specter', 'age': 22},
    {'name': 'max', 'surname': 'headroom', 'age': 108}]

def counters():
    return defaultdict(int)

def freqs(LofD):
    r = defaultdict(counters)
for d in LofD:
    for k, v in list(d.items()):
        r[k][v] += 1
return dict((k, dict(v)) for k, v in list(r.items()))
print(freqs(LofD))
частота элементов в списке словарей python