Processing the output from Array Count Values
<p>I have an array of categories.</p>

<p>Array_Count_Values lists them with how many times they each appear within the array. I.E: 
<code>[Gas] =&gt; 1 [Electricity] =&gt; 4 [Car] =&gt; 3...</code></p>

<p>Essentially I want to output that, but process the string so that it says...</p>

<pre><code>&lt;a href=?cat=gas&gt;gas&lt;/a&gt;(1) ~ &lt;a href=?cat=electricity&gt;Electricity&lt;/a&gt;(4) ~ ...etc
</code></pre>

<p>What would be the best way to do this?</p>

<p>Thanks!</p>
