how to count array elements
<p>I have the following code :</p>

<pre><code>Array ( [name] =&gt; Mohammed Sheriff Yousef [id] =&gt; 100000829584190 )
Array ( [name] =&gt; Alaa F. Saqer [id] =&gt; 100000539471010 )
Array ( [name] =&gt; Akram Abdulrahman [id] =&gt; 689519731 )
Array ( [name] =&gt; Mahran Yousef [id] =&gt; 1222350985 )
Array ( [name] =&gt; Akram Abdulrahman [id] =&gt; 689519731 )
Array ( [name] =&gt; Mohamed K. Abu WaRda [id] =&gt; 1596455052 )
Array ( [name] =&gt; Saed Shela [id] =&gt; 684680654 )
Array ( [name] =&gt; محمود أبو حمدة [id] =&gt; 100000837027492 )
Array ( [name] =&gt; Saady Lozon [id] =&gt; 1438921026 )
Array ( [name] =&gt; Ahmed A. AbuShaban [id] =&gt; 100002833873318 )
Array ( [name] =&gt; Belal Shaat [id] =&gt; 1032398417 )
Array ( [name] =&gt; Hrusikesh Sahoo [id] =&gt; 100000996865880 )
Array ( [name] =&gt; Hani A. Qudaih [id] =&gt; 100001185215875 ) 
</code></pre>

<p>how can I count how much each name repeats and store the result in another array as key-> value array ( name and count ) ? </p>
