title: get the count value in stdClass object with foreach loops
body: <pre><code>Array ( [0] =&gt; stdClass Object ( [count] =&gt; 3  ) ) 
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 1 ) ) 
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 2 ) )
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 0 ) )
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 0 )  ) 
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 0 )  )
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 0 )  )
  Array ( [0] =&gt; stdClass Object ( [count] =&gt; 3 )  ) 
  </code></pre>
  
  <p>i want to print only 3 1 2 0 0 0 0 3</p>