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

    println(op142b(k, h))
}


fun op142b(limit: Int, member: List<Int>) = member.filter { it >= limit }.count()
