API GetNumShapeshiftForms

Returns the number of shapeshift buttons (stances for Warriors, auras for Paladins, forms for Druids, etc) the player currently has.

The function might return 0 if called before the event UNIT_AURA has fired off.