Attempts to parse array size out of the address

def get_array_size(self):
        """Attempts to parse array size out of the address"""
        match = re.search(r"(?<=\[)\d+(?=\])", self.get_address())
        return int(match.group(0))