count element in array?
<p>I have an Array like this (when I <code>print_r</code>).  How can I sum all elements in this Array?
In this example, the sum is 0+1=1</p>

<pre><code>Array ( [0] =&gt; Array ( [0] =&gt; 0 )
        [1] =&gt; Array ( [0] =&gt; 1 ) )
</code></pre>
