got the item count working