API:GetCountInBagByName

Counts the current amount of items, given by an item id, in the bag.

Arguments

 * ItemName
 * string - Name of the Item.

Returns

 * number
 * number - The amount of items, refered by given ItemName, currently in the bag.

Related Functions

 * GetBagItemCount
 * GetBagItemLink