abstract out html generation for fields
add word count to post stats