func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}
let nk=readInts()
let n=nk[0]
let k=nk[1]
var count=0
let hh=readInts()
for h in hh {
  if h>=k{
    count+=1
  }
}
print(count)

