output_description: Print the number of people among the Takahashi's friends who can ride the
  roller coaster.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N K
      h_1 h_2 \ldots h_N
attempt: def ri():
      return int(input())
  
  
  def rli():
      return list(map(int, input().split()))
  
  
  def rls():
      return list(map(str, input().split()))
  
  
  def pl(a):
      print(" ".join(list(map(str, a))))
  
  
  def ma():
      return map(int, input().split())
  
  
  def nli(x):
      return [input for _ in range(x)]
  
  
  def hukusuu():
      listA = []  # appendのために宣言が必要
      while True:
          try:
              listA.append(list(map(int, input().split())))
          except:
              break  # または、quit(),os.exit()をして止める。
      return listA
  
  
  n, k = ma()
  h = rli()
  
  from itertools import accumulate, groupby as acc, gp
  import operator as op
  import copy as cp
  import math
  from bisect import bisect_left as bisl
  from bisect import bisect_right as bisr
  
  
  def ifif(s):
      if s:
          print("Yes")
      else:
          print("No")
  
  
  h.sort()
  inde = bisl(h, k)
  print(n - inde)
  
problem_description: Statement
  
  N friends of Takahashi has come to a theme park.
  
  To ride the most popular roller coaster in the park, you must be at least K
  centimeters tall.
  
  The i-th friend is h_i centimeters tall.
  
  How many of the Takahashi's friends can ride the roller coaster?
samples: [{"input": "4 150\n    150 140 100 200", "output": "2\n    \n\nTwo of them can ride the roller coaster: the first and fourth friends.\n\n* * *"}, {"input": "1 500\n    499", "output": "0\n    \n\n* * *"}, {"input": "5 1\n    100 200 300 400 500", "output": "5"}]