Puoi aggiungere un contatore al ciclo che aumenta per ogni record stampato a video:

Codice PHP:
$keys explode (","$chiave); 
$query ""
reset ($keys); 
while (list(,
$parola) = each ($keys)) 
$parola trim($parola); 
if (
$parola != ""
$query "titolo LIKE '%$parola%' OR testo LIKE '%$parola%' OR autore LIKE '%$parola%' OR "

$query .= "0"
$query "SELECT id, titolo, data  FROM news WHERE " $query
$result mysql_query($query$db) OR DIE(
Errore Numero:"
mysql_errno() .

Descrizione: "
mysql_error());

$i 0//Contatore
while ($row mysql_fetch_array($result)) 
{ echo 
"<a href=\"view.php?id=$row[id]\">" date("j/n/y"$row['data']) . " - $row[titolo]</a>
"

$i++; // Aumento il contatore di uno
}
print 
"
"
;
print 
"La ricerca ha prodotto "$i ." risultati per il termine: "$chiave
print 
"
"