I have a list, e.g like:
val list = listOf(\"orange\", \"apple\", \"apple\", \"banana\", \"water\", \"bread\", \"banana\")
How can i check how
list.count { it == "apple" }
Documentation: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/, https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/count.html