let arr1=readLine()!.characters.split{$0==" "}.map{Int(String($0))!}
let n = arr1[0]
let k = arr1[1]

let h=readLine()!.characters.split{$0==" "}.map{Int(String($0))!}

let hf = h.filter { $0 >= k }

print( hf.count )