<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def capacity(self):
 """ Return the raw capacity of the filesystem. :rtype: int :return: filesystem capacity """

        _complain_ifclosed(self.closed)
        if not self.__status.host:
            raise RuntimeError('Capacity is not defined for a local fs')
        return self.fs.get_capacity()