import Foundation

func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

let nk=readInts()
let n=nk[0]
let k=nk[1]
let h=readInts()
var ans=0

for i in h{
  if i>=k {ans+=1}
}

print(ans)