API:GetQuestItemNumByType QuestDetail

GetQuestItemNumByType_QuestDetail( type );

Arguments

 * type -
 * 1 - Needed Items
 * 2 - Choice Items
 * 3 - Reward Items

Returns

 * 1 - How many "Needed Items" the Quest has
 * 2 - How many Items you can choose between
 * 3 - How many Items you will get

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetQuestItemNumByType_QuestDetail(1));