object Main extends App {
  val nk = scala.io.StdIn.readLine()
  val nkArray = nk.split(" ").map(_.toInt).toVector
  val k = nkArray(1)

  val h = scala.io.StdIn.readLine()
  val hArray = h.split(" ").map(_.toInt).toVector
  println(hArray.filter(_ >= k).size)
}