r=0
a,b=map(int,input().split())
L=list(map(int,input().split()))
for i in range(a):
  if L[i]>=b:
    r+=1
print(r) r=0 r 0 a,b=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b L=list(map(int,input().split())) L list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split for i in range(a):
  if L[i]>=b:
    r+=1 i range(a) range a if L[i]>=b:
    r+=1 L[i]>=b L[i] L i b r+=1 r 1 print(r) print r a,b=map(int,input().split()) map(int,input().split()) a b=map(int,input().split()) map(int,input().split()) b r=0 0 r L=list(map(int,input().split())) list(map(int,input().split())) L r+=1 1 r
r=0
a,b=map(int,input().split())
L=list(map(int,input().split()))
for i in range(a):
  if L[i]>=b:
    r+=1
print(r)