titus.producer.tools.count

titus.producer.tools.count(pattern, haystack)[source]

Return the number of matches.