This is used to count the number of sentences in a variable.
Example 5-6. count_sentences
'Two Soviet Ships Collide - One Dies.
Enraged Cow Injures Farmer with Axe.'
Where template is:
This will output:
Two Soviet Ships Collide - One Dies. Enraged Cow Injures Farmer with Axe.
See also count_characters,