def _occurrences(self):
        if self.expire_length:
            return int(self.subscription.expire_length/self.expire_length)
        else:
            return 0
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/modules/subscription/models.py/Trial._occurrences/swapped operands of `/`