title: how to get only not null element count in array php
body: <p>i want to get only not null values count in that array , if i use <code>count()</code> or <code>sizeof</code> it will get the null indexes also . </p>
  
  <p>in my case </p>
  
  <p>i have an array like this <code>Array ( [0] =&gt; )</code> </p>
  
  <p>the <code>count</code> is <code>1</code> . but i want to get the not null count , inthis case it should be <code>0</code> , how can i do this , please help............................</p>