Returns the number of items stacked in an inventory slot.
Currently only returns meaningful information for the ammo slot.
See also Inventory functions.
unit- A unit to query; only valid for 'player' or the unit currently being inspected (
slot- An inventory slot number, as can be obtained from
count- The amount of items stacked in the inventory slot (