Add $query_count and $query_time properties