sets !q to num of dimensions. !q must be initialized before this is called
#IFADIM !1 #SET Q$ !Q ARRAY_DIM_COUNT_HELPER !2 !3 !4 !5 !6 !7 !8 !9 #ENDIF