object Main extends App {

  val Array(n, k) = scala.io.StdIn.readLine().split(" ").map(_.toInt)
  val hArr = scala.io.StdIn.readLine().split(" ").map(_.toInt)

  def solve()  = {
    hArr.count(_ >= k)
  }
  println(solve)

}
