Find number of element in string with jQuery
<p>I have a function, this function receive a string in argument. The content of this variable is HTML code. I'd like know number of HTML element with the class <code>.myClass</code></p>

<pre><code>function MyTest(myData){
    //get how many element with .myClass are in myData
}
</code></pre>

<p>Thanks,</p>
