Refactory post to calculate word count after save.