testing how many rows were returned