
 forlord - 2014-06-20 14:10:18
Good day
my be use self::$counter++; in 
    public function query( $query )
    {
        $full_query = $this->link->query( $query );
        if( $this->link->error )
        {
            $this->log_db_errors( $this->link->error, $query );
            return false; 
        }
        else
        {
           self::$counter++;
            return true;
        }
    }
 and delete from all function self::$counter++;