totalAmount

fun Player.totalAmount(item: ItemStack): Int
fun Player.totalAmount(material: Material): Int