MZ Checking if an item quantity is more than 1

I'm modifying the itemlist drawing the quantity of an item in the item window. I'm trying to get it to draw the quantity of an item only if it's greater than 1. However, I having an issue figuring out how to check if the item in the list has more than 1 for the if statement.

Any help would be appreciated.
What's the code that draws the quantity number?
Window_ItemList.prototype.needsNumber = function() { if (this._category === "keyItem") { return $dataSystem.optKeyItemsNumber; } if (this._category === "quest" && ) { return true; } else { return true; } };

I was trying to do it in this part of the code for catagory quest.
That isn't what I asked.
Ah ok sorry. I found it what you were talkingn about and was able to do it through that. I thought i could do it though the other function.

Window_ItemList.prototype.drawItemNumber = function(item, x, y, width) { if (this.needsNumber() && $gameParty.numItems(item) > 1) { this.drawText("\\C[0]x", x, y, width - this.numberWidth(), "right"); this.drawText($gameParty.numItems(item), x, y, width, "right"); } }

Original thread: https://forums.rpgmakerweb.com/threads/checking-if-an-item-quantity-is-more-than-1.165059/