import java.util.Scanner

object Main extends App{
  val sc = new Scanner(System.in)

  val n = sc.nextInt
  val k = sc.nextInt

  val hl = Seq.fill(n)(sc.nextInt)

  val res = hl.count(_ >= k)

  println(res)
}