import java.io.{BufferedReader, InputStreamReader}

object Main {
  def main(args: Array[String]): Unit = {
    val in = new BufferedReader(new InputStreamReader(System.in))
    val Array(n, k) = in.readLine().split("\\s+").map(_.toInt)
    val hs = in.readLine.split("\\s+").map(_.toInt)

    System.out.println(
      hs.count(_ >= k)
    )
  }
}
