Why do these two lines give me different results?

```
var str = "Hello " // the square is an emoji

count(str) // returns 7

(str as NSString).length // returns 8

```

Original for reference:

![enter image description here](https://i.stack.imgur.com/fQy5i.png)