Returns the number of existing Frame objects (and derivatives). Only counts Frame objects and derivatives thereof (e.g. Button, Minimap, and StatusBar; but not FontString, AnimationGroup, and Texture).
See also Utility functions.
Signature:
numFrames = GetNumFrames()
Returns:
numFrames- Number of existing Frame objects (and derivatives) (number)