object Main {
  def main(args:Array[String]) {
    val nk = readLine().split(' ').map(_.toInt)
    val h = readLine().split(' ').map(_.toInt)
    var count = 0
    for(i <- 0 until nk(0)) {
      if(nk(1) <= h(i)) count += 1
    }
    println(count)
  }
}
