count The number of key-value pairs in the dictionary. Declarationvar count: Int { get } Discussion See AlsoInspecting a DictionaryisEmptycapacity