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