arr1 = $stdin.gets.chomp.split(" ")
arr1.map! do |a_j|
a_j.to_i
end
arr2 = $stdin.gets.chomp.split(" ")
arr2.map! do |a_j|
a_j.to_i
end

ans = 0

for i in 0..arr1[0]-1
    if arr2[i] >= arr1[1]
        ans += 1
    end
end
puts ans