Multidimension array size

Thank you for this !!

I have follow up questions .
I want the size of the array say a*b

I tried and I am always getting size 0 . Can you help me to fix this ?

Thanks,