<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def drawdown_length(self, return_int=False):
 """Length of drawdown in days. This is the duration from peak to trough. Parameters return_int : bool, default False If True, return the number of days as an int. If False, return a Pandas Timedelta object. Returns ------- int or pandas._libs.tslib.Timedelta """


        td = self.drawdown_end() - self.drawdown_start()
        if return_int:
            return td.days
        return td