Frameset.ParentFrameset (Word)
Returns a Frameset object that represents the parent of the specified Frameset object on a frames page.
For more information on creating frames pages, see Creating Frames Pages.
MsgBox ActiveDocument.ActiveWindow.ActivePane _
.Frameset.ParentFrameset.ChildFramesetCount