import scala.io.StdIn

object Main extends App {
  val Array(n, k)  = StdIn.readLine().split(" ").map(_.toInt)
  val h :Array[Int] = StdIn.readLine().split(" ").map(_.toInt)

  println(h.filter(p => p >= k).length)

}
  

