let count arr n k =
  let c = ref 0 in
  for i = 0 to n - 1 do
    if arr.(i) >= k then c := !c + 1
  done ;
  !c

let () =
  let n, k = Scanf.scanf "%d %d\n" (fun a b -> (a, b)) in
  let hight = Array.init n (fun _ -> Scanf.scanf " %d" (fun a -> a)) in
  count hight n k |> print_int
