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