<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def width(self):
 """The number of columns it would take to display this string"""

        if self._width is not None:
            return self._width
        self._width = sum(fs.width for fs in self.chunks)
        return self._width