object Main {
  def main(args: Array[String]): Unit = {
    import java.util.Scanner
    val in = new Scanner(System.in)
    val n, k = in.nextInt
    val heights = List.fill(n)(in.nextInt)
    val riders = heights.filter(_ >= k)
    val answer = riders.length
    println(answer)
  }
}