open System
open System.Linq;


let input = stdin.ReadLine().Split()|>Array.map int
let N=input.[0]
let K=input.[1]
let h = stdin.ReadLine().Split()|>Array.map int
[<EntryPoint>]
let sf argv =
    h
    |>Seq.sumBy (fun x -> if (x >= K) then 1 else 0)
    |>printfn "%d"
    0 