Fixed leftover variable in tooltip item count, causing errors