object Main extends App {
    val input = io.StdIn.readLine.split(' ').map(_.toInt)
    val n = input(0)
    val k = input(1)
    val h = io.StdIn.readLine.split(' ').map(_.toInt)

    println(h.filter(_ >= k).length)
}