I am slightly confused when I use the getsizeof method in the sys module for dictionaries. Below I have created a simple dictionary of two strings.
getsizeof
sys
From the PythonDocs
See recursive sizeof recipe for an example of using getsizeof() recursively to find the size of containers and all their contents.
So it only counts the overhead, but you can use the function in this link to calculate it for containers like dicts.