architect • coder • strategist • musician • educator
Implement a function that counts the number of dictionaries in an arbitrarily nested dictionary.
## Example
count_dictionaries({ "a": 1 }) # 1
count_dictionaries({ "a": { "b": { "c": 1 } } }) # 3