[<EntryPoint>]
let main argv = 
    let k = stdin.ReadLine().Split(' ').[1] |> int
    stdin.ReadLine().Split(' ')
    |> Seq.map int
    |> Seq.sumBy (fun c -> if c < k then 0 else 1)
    |> printfn "%d"
    0
