public function field_count()
    {
        if ($this->statement) {
            return $this->statement->field_count;
        }
        
        if (!$this->mysqli_result) {
            return false;
        }
        
        return $this->mysqli_result->field_count;
    }