
fun main (args:Array<String>){
    val (N, K) = readLine()!!.split(" ").map(String::toInt)
    val count = readLine()!!.split(" ").map(String::toInt)
            .filter { h -> h >= K }
            .count()
    print(count)
}
