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