Add a New Computed Column to your Data Set which is an aggregation based on COUNT of any particular column (id makes most sense). In this example I call the new column numRows
Then you can refer to the variable row["numRows"]
in other parts of the report, e.g. to change the visibility of a table. In this example I only want to show the table if there is exactly 1 result in the Data Set