def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans)

main() def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans) main n,k= list(map(int,input().split())) n list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split k h= list(map(int,input().split())) h list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split ans=0 ans 0 for i in range(0,n):
    if h[i]>=k:
      ans+=1
   i range(0,n) range 0 n if h[i]>=k:
      ans+=1
   h[i]>=k h[i] h i k ans+=1 ans 1 print(ans) print ans main() main def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans) def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans) main
def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans)

main()