local read = setmetatable({}, {__index = function(t, k) local a = {} for i=1,#k do table.insert(a, string.sub(k, i, i)) end local r = io.read local u = table.unpack return function() return r(u(a)) end end})
local N, K = read.nn()
local count = 0
for i=1,N do
    local h = io.read("n")
    if h >= K then
        count = count + 1
    end
end
print(count)
