https://weshallneversurrender.com/PyMapping-Length/
A Beginner's Guide to Understanding PyMapping_Length in Python