The compiler is telling you that it is impossible to cast a the text (CharSequence) to an Int as mentioned by user2759839
But getting beyond the simple syntax error, you should not have to read from the textView at all.
In general view objects should not hold state. They should capture user input or display info.
What you should do is create a private variable to hold the click count state, update that and then just use the TextView to display the value.
so something like this.
private var clickCount = 0
fun click(v: View) {
clickCount += 1
textView.text = "$clickCount"
}
This has the added benefit that you don't have to worry about the exception that can be thrown if the toInt() were to fail.