(PHP 4 >= 4.0.1, PECL)
yaz_hits() returns the number of hits for the last search.
The connection resource returned by yaz_connect().
Returns the number of hits for the last search or 0 if no search was performed.