Template:Count*/doc

Usage

 * counts the number of occurrences of the asterisk (*) in the text.
 * The example returns (should be 3).
 * The example returns (should be 3).

gives (4)

Bugs

 * Only works for less than 11 asterisks