object Main{
  def main(args: Array[String]){
    val input=io.Source.stdin.getLines().mkString("\n")
    println(solve(input).trim())
  }

  def solve(input:String):String={
    val k = input.split("\n")(0).split(" ")(1).toInt
    val hs = input.split("\n")(1).split(" ").map(_.toInt)
    hs.filter{_>=k}.size.toString
  }
}
