n,m=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in h:
    if i>=m:
        count+=1
print(count) n,m=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split m h=list(map(int,input().split())) h list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split count=0 count 0 for i in h:
    if i>=m:
        count+=1 i h if i>=m:
        count+=1 i>=m i m count+=1 count 1 print(count) print count h=list(map(int,input().split())) list(map(int,input().split())) h count=0 0 count n,m=map(int,input().split()) map(int,input().split()) n m=map(int,input().split()) map(int,input().split()) m count+=1 1 count
n,m=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in h:
    if i>=m:
        count+=1
print(count)