def METHOD_NAME(self, table_addr, ptr_sz, vmlinux):
    table_size_meta = self._get_table_size_meta(vmlinux)
    table_size_syms = self._get_table_size_next_symbol(table_addr, ptr_sz, vmlinux)
    sizes = [size for size in [table_size_meta, table_size_syms] if size > 0]
    table_size = min(sizes)
    return table_size