def get_int
  gets.chop.to_i
end

def get_ints
  gets.chop.split.map(&:to_i)
end

def get_double
  gets.chop.to_f
end

def get_str
  gets.chop
end

def get_strs
  gets.chop.split
end

def main
  n, k = get_ints
  h_arr = get_ints
  c = 0
  h_arr.each do |h|
    if h >= k
      c += 1
    end
  end
  puts c
end

if __FILE__ == $0
  main
end