Javascript: Find numbers of keywords in textarea
<p><strong>Input:</strong></p>

<pre><code>var text = $('#id_textarea').val();
var keywords = $('#id_keywords').val().split(',');
</code></pre>

<p><strong>Output:</strong> Number of <code>keywords</code> in <code>text</code></p>

<p><strong>Example:</strong></p>

<pre><code>text = "jquery javascript js jquery-js js django python, blah blah blah...";
keywords = ['jquery', 'js'];
// so result = 3
</code></pre>

<p>Thanks for any help :)</p>

<p>UPDATE: I need a function to get the result as output. Thanks!</p>
