Get a count for a pattern using python
<p>In the following how to count the number of times that <code>__TEXT__</code> appears in the variable sing python</p>

<pre><code>    a="This is __TEXT__ message to test __TEXT__ message"
</code></pre>
