fun main(args : Array<String>) {
    val line1 = readLine()!!.split(" ")

    val n = line1[0]
    val limitHeight = line1[1].toInt()

    val heights = readLine()!!.split(" ").map { it.toInt() }

    val result = Beginner20190928B.exec(limitHeight = limitHeight, heights = heights)

    println(result)
}


object Beginner20190928B {
    fun exec(limitHeight : Int, heights : List<Int>) : Int {
        return heights.count { it >= limitHeight }
    }
}