python text.count do no return the correct number of occurences : <p>I have a question regarding the text.count() function in python.
Suppose I have the following text and I want to return the number of occurrences of "CCC":</p>

<pre><code>text = "ACCCGTTGCCCC"
print text.count("CCC")
</code></pre>

<p>why it returns 2 and not 3?</p>
