import Foundation

var input_num = [String]()
var count:Int = 0

for i in 0..<2 {
  input_num.append(readLine()!)
}

let nk = input_num[0].componentsSeparatedByString(" ")
let n = Int(nk[0])!
let k = Int(nk[1])!

let hList = input_num[1].componentsSeparatedByString(" ")
for i in 0..<hList.count {
  if Int(hList[i]) >= k {
    count += 1
  }
}

print(count)