API GetNumGroupMembers

Returns the total number of players in a group. numGroupMembers = GetNumGroupMembers( [groupType] )

Arguments

 * groupType : Optional - One of the following:
 * - to query information about the player's manually-created group.
 * - to query information about the player's instance-specific temporary group (e.g. PvP battleground group, Dungeon Finder group).
 * If omitted, defaults to  if such a group exists,   otherwise.

Returns

 * numGroupMembers : Number - total number of players in the group (either party or raid), 0 if not in a group.