A stack length accessor, use in assertions.