n,k=map(int,input().split())
s=0
for m in map(int,input().split()):
  if m>=k:s+=1
print(s) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k s=0 s 0 for m in map(int,input().split()):
  if m>=k:s+=1 m map(int,input().split()) map int input().split() ().split () input split if m>=k:s+ m>=k m k print(s) print s s=0 0 s k=map(int,input().split()) map(int,input().split()) k n,k=map(int,input().split()) map(int,input().split()) n
n,k=map(int,input().split())
s=0
for m in map(int,input().split()):
  if m>=k:s+=1
print(s)