hmm i think i solved my problem..
im posting the code for other's reference.
$numberofrows = count($_POST)/2;
echo "num of rows = ".$numberofrows;
Type: Posts; User: noob45
Search: Search took 0.02 seconds.
Results 1 to 2 of 2