let () =
  Scanf.scanf "%d %d\n" @@ fun n k ->
  let h = Array.init n @@ fun _ -> Scanf.scanf "%d " @@ fun d -> d in
  let ans = Array.fold_left (fun a x -> if x >= k then a+1 else a) 0 h in
  Printf.printf "%d\n" ans