let f lst k =
    lst |> Array.filter (fun x -> x >= k) |> Array.length

let line1 = stdin.ReadLine().Split() |> Array.map int
let k = line1.[1]
let lst = stdin.ReadLine().Split() |> Array.map int
let ans = f lst k

printfn "%d" ans