fun main(args: Array<String>) {
    val (n, k) = readLine()?.split(" ")?.map(String::toInt) ?: return
    val h = readLine()?.split(" ")?.map(String::toInt) ?: return

    println(h.filter { it >= k }.count().toString())
}