fun main (args : Array<String>) {
	val (n, k) = readLine()!!.split(" ")
	val K : Int = k.toInt()
	val list = readLine()!!.split(" ")
	var count : Int = 0
	for (i in 0..list.size - 1) {
		if (list[i].toInt() >= K) {
			count++
		}
	}
	println("${count}")
}