<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def memsize(self):
 """ Total array cell + indexes size """

        return self.size + 1 + TYPE.size(gl.BOUND_TYPE) * len(self.bounds)