php$text = "This is some text.";$count = count(explode(" ", $text));echo "$text contains $count words";?>