count not working well here
should fix last few loot issues