input_lines = gets.chop.split.map(&:to_i)
input_lines2 = gets.chop.split.map(&:to_i)

answer = 0 
for i in 0...input_lines[0]
    if input_lines2[i] >= input_lines[1]
        answer = answer + 1
    end
end

puts  answer