<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _offsetscounts(self):
 """Return simplified offsets and bytecounts."""

        if self.is_contiguous:
            offset, bytecount = self.is_contiguous
            return [offset], [bytecount]
        if self.is_tiled:
            return self.dataoffsets, self.databytecounts
        return clean_offsetscounts(self.dataoffsets, self.databytecounts)