require 'pp'

def gets; ARGF.gets; end

class Solver

  def initialize
  end

  def main
    n, k = gets.chomp.split.map(&:to_i)

    ary = gets.chomp.split.map(&:to_i)
    ans = ary.count do |h|
      k <= h
    end

    puts ans
  end
end

if __FILE__ == $0
  Solver.new.main
end
