Найти длину всех g.keys () в дикте
length_key = len(d['key']) # length of the list stored at `'key'` ...
Different Donkey
length_key = len(d['key']) # length of the list stored at `'key'` ...