send response.count instead of rowCount