list = gets.chomp.split.map{|aa| aa.to_i}
n = list[0]
k = list[1]

height_list = gets.chomp.split.map{|aa|  aa.to_i}

result = 0
for i in 0..n-1
  if height_list[i] >= k
    result += 1
  end
end

puts result