Kotlin - Functions
How can you modify this Kotlin function to count how many times a local function is called?
fun counter() {
var count = 0
fun increment() {
count++
}
increment()
increment()
println(count)
}