input_lines = readlines

input_0 = input_lines[0].split(' ')
members_height = input_lines[1].split(' ')
cnt = 0

N = input_0[0]
HEIGHT_LIMIT = input_0[1]

members_height.each do |mem_height|
  cnt = cnt + 1 if mem_height >= HEIGHT_LIMIT
end

puts cnt