import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)
    val n, k = sc.nextInt()
    val h = Seq.fill(n)(sc.nextInt())
    var sum = 0;
    for (i <- h) {
      if (i >= k) {
        sum += 1
      }
    }
    println(sum)
  }
}