Python Dictionary Count Function In Access