Python Dictionary Length Function In Excel