move getMissingItemCount() inside the loop

start each fresh batch of crafteres with a fresh item count.