Writing area

https://trello.com/c/NElTBCxh/54-as-a-user-i-want-a-nice-place-to-write-things

![selection_034](https://cloud.githubusercontent.com/assets/8248100/5289749/cf72cf74-7b0e-11e4-91dd-73e344803606.png)

``` js
function setWordCount() {
  var wordCount;
  var body = $(".writing-area textarea").val().trim() // rather than targeting the element, change to target class

  if (body === "") {
    wordCount = 0;
  } else {
    wordCount = body.split(/\s+/).length;
  }

  $(".word-count").val(wordCount);
}
```