Do you mean stack size or maximum argument count?

There is actually a way to measure the max stack depth. On some engines, it is a constant, but in others it is dependent on memory pressure. It is an interesting exercise, but I doubt it’s relevant here.