check for item count on delete