number of characters in a string swift

Swift
test1.count
Source

Also in Swift: