There isn't an easy way as yet, but you can include this function in your code to help out:
function ibase_num_rows($query) {
$i = 0;
while (ibase_fetch_row($query)) {
$i++;
}
return $i;
}
Although you will lose your query afterwards, so you'll need to run it again if you want to use the data for further purposes.
Hope this helps
roki