input1 = gets
input2 = gets
array1 = input1.split(" ").map{|item| item.to_i}
array2 = input2.split(" ").map{|item| item.to_i}

N = array1[0]
K = array1[1]

count = 0

for i in 0...N
  if array2[i] >= K
    count += 1
  end
end

p count