allout-sibling-index

allout-sibling-index is a compiled Lisp function in `allout.el'.

(allout-sibling-index &optional DEPTH)

Item number of this prospective topic among its siblings.

If optional arg DEPTH is greater than current depth, then we're
opening a new level, and return 0.

If less than this depth, ascend to that depth and count...