count The number of elements in the set. Declarationvar count: Int { get } Discussion See AlsoInspecting a SetisEmptycapacity