18

New Ruby, 234 bytes, ~ Hψ(φΩ(ω))(9)
where H is the Hardy hierarchy, ψ is an extended version of Madore's OCF (will explain below) and φ is the Veblen function.
Try it online!
def f(a,n=0,b=a)c,d,e=a;g=a.size;n<1?(a.class!=Array):b==1?(a==1?n:f(f(a,n),n*n,1)):f(a)?(a>1?a-1:n):g<1?h(b,n-1):g<2?[...