Bug fix for counting stacks instead of full item count
