If you call the query using a stored procedure, you could use output parameters. You could also use the default return value parameter ("@Return").
What are you doing with the results of the query? If you are binding the query results to some control, then it's likely that you could use some property of the control to get the number of items bound to it.
-
Peter