swift count number of characters in string code example Example: number of characters in a string swift test1.count