
def main

  line = gets().chomp.split(" ")
  members_count = line[0].to_i
  height_threshould = line[1].to_i

  return_flg = false
  # 身長
  members_height = []
  gets().chomp.split(" ") do | v |
    height = v.to_i
    if height < 1 || 500 < height
      return_flg = true
      next
    end

    members_height << height
  end
  
  return if members_count < 1 || 100000 < members_count
  return if height_threshould < 1 || 500 < height_threshould
  return if return_flg

  # ジェットコースターに乗れる人数を求める
  riders_count = 0
  members_height.each do | height |
  riders_count += 1  if height_threshould <= height
  end

  p riders_count
end

main