count row

Hi all i have a problem how count a row in a query result?? i think that use GetRow, is correct?

Thank's

Ghido