Test the counts of n number of parallel index-by tables, to see if even one of them was different;
...
IF NOT (arr1.count = arr2.count
AND arr1.count = arr3.count
AND arr1.count = arr4.count
AND . . .
AND arr1.count = arr10.count)
THEN RAISE mis_val_proc;