fun main(args: Array<String>){
  var input = readLine()!!.split(" ")
  val n = input[0].toInt()
  val k = input[1].toInt()
  input = readLine()!!.split(" ")
  val h = IntArray(n){ input[it].toInt() }

  var result = 0
  for( hi in h )
    if( k <= hi )
      result++

  println(result);
}
