title: Word count in Rails?
body: <p>Say I have a blog model with Title and Body. How I do show the number of words in Body and characters in Title? I want the output to be something like this</p>
  
  <p>Title: Lorem
  Body: Lorem Lorem Lorem</p>
  
  <p>This post has word count of 3.</p>