title: Count how often a particular value appears in an array
body: <p>I know the function <code>count()</code> of php,
  but what's the function for counting how often a value appear in an array?</p>
  
  <p>Example:</p>
  
  <pre><code>$array = array(
    [0] =&gt; 'Test',
    [1] =&gt; 'Tutorial',
    [2] =&gt; 'Video',
    [3] =&gt; 'Test',
    [4] =&gt; 'Test'
  );
  </code></pre>
  
  <p>Now I want to count how often "Test" appears.</p>