count rows without count(*)



Hi all,

I get data from DB with:
while (my ($id, $post_text) = $getpost->fetchrow_array) {

is there a way how much columns are selected wihout select (fetch)
them all, or using count(*) function ?

Thanks

.