Added ResultSet counting test