code: func (ns *Namespace) CountWords(s interface{}) (int, error) {
  	ss, err := cast.ToStringE(s)
  	if err != nil {
  		return 0, _errors.Wrap(err, "Failed to convert content to string")
  	}
  
  	counter := 0
  	for _, word := range _strings.Fields(helpers.StripHTML(ss)) {
  		runeCount := utf8.RuneCountInString(word)
  		if len(word) == runeCount {
  			counter++
  		} else {
  			counter += runeCount
  		}
  	}
  
  	return counter, nil
  }
docs: // CountWords returns the approximate word count in s.