title: count of duplicate elements in an array in php
body: <p>Hi,
     How can we find the count of duplicate elements in a <code>multidimensional array</code> ?</p>
  
  <p>I have an array like this</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [lid] =&gt; 192
              [lname] =&gt; sdsss
          )
  
      [1] =&gt; Array
          (
              [lid] =&gt; 202
              [lname] =&gt;  testing
          )
  
      [2] =&gt; Array
          (
              [lid] =&gt; 192
              [lname] =&gt; sdsss
          )
  
      [3] =&gt; Array
          (
              [lid] =&gt; 202
              [lname] =&gt;  testing
          )
  
  )
  </code></pre>
  
  <p>How to find the count of each elements ?</p>
  
  <p>i.e, count of entries with id <code>192</code>,<code>202</code> etc</p>