Frame:GetChildren
Frame:GetNumChildren
Returns the number of child frames belonging to the frame.
numChildren = Frame:GetNumChildren()