public int GetAvailableItemCount(Predicate<LootItem> match) { return lootItems.FindAll(match).Count; } }