@name Shipment Counter
@inputs Count
@outputs HowMany
@persist LastVal

runOnTick(1)
if(LastVal == 0)
{
     LastVal = Count
     HowMany = Count
}

if(LastVal > Count) #One been taken out?
{
     LastVal = Count
     HowMany = Count
     print("there are now " + HowMany + " guns in the shipment")
}
