Added rowcount and duration to query view