fun main(args: Array<String>){
    var n: List<String> = readLine()!!.split(" ")
    val a: List<String> = readLine()!!.split(" ")
    var num: Int = 0
    for(i in a){
        if(i.toInt() >= n[1].toInt()){
            num++
        }
    }
    println(num)
}
