function() { $num = \count($this->queries); $this->queries = []; $this->list_queries = []; return $num; }