[<EntryPoint>]
let main argv =
    let nk = System.Console.ReadLine().Split()
    let n = nk.[0] |> int
    let k = nk.[1] |> int
    let hx = System.Console.ReadLine().Split() |> Array.map int
    let ans =
        hx
        |> Array.filter (fun x -> x >= k)
        |> Array.length
    System.Console.WriteLine(ans)
    0
