n,k=map(int,input().split())
h=list(map(int,input().split()))
sum=0
for l in h:
    if l>=k:
        sum+=1

print(sum) n,k=map(int,input().split()) n 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 sum=0 sum 0 for l in h:
    if l>=k:
        sum+=1 l h if l>=k:
        sum+=1 l>=k l k sum+=1 sum 1 print(sum) print sum h=list(map(int,input().split())) list(map(int,input().split())) h sum=0 0 sum sum+=1 1 sum n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k
n,k=map(int,input().split())
h=list(map(int,input().split()))
sum=0
for l in h:
    if l>=k:
        sum+=1

print(sum)