Counts the words in a string
<?php count_words(string $value)
Example #1
{count_words('ab cd')}
The above example will output:
2