Fix word count in ember.

The word count in ember is currently incorrect as it ignored new lines.

When entering the following text the word count shows 3 instead of 4:

```
foo bar
baz rasper
```

No issue. Sorry @ErisDS :v: