added stats to query results