How retrieve data from a 2D array on this particular case?
<p>I have a array with this var_dump value:</p>

<pre><code>$query = $wpdb-&gt;get_results("SELECT COUNT(*) FROM `$table` WHERE my mysql conditions"); 
</code></pre>

<p><strong>var_dump($query); is this:</strong></p>

<pre><code>array(1) { [0]=&gt; object(stdClass)#414 (1) { ["COUNT(*)"]=&gt; string(3) "494" } } 
</code></pre>

<p>How can I get the number 494 inside a variable?</p>

<p>$number = $query[0];</p>
