Add entity word length to JSON response