n,k = map(int,input().split())
count=0

l= list(map(int,input().split()))

for i in range(len(l)):
    if l[i]>=k:
        count=count+1

print(count) n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k count=0 count 0 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(len(l)):
    if l[i]>=k:
        count=count+1 i range(len(l)) range len(l) len l if l[i]>=k:
        count=count+1 l[i]>=k l[i] l i k count=count+1 count count+1 count 1 print(count) print count n,k = map(int,input().split()) map(int,input().split()) n count=0 0 count count=count+1 count+1 count k = map(int,input().split()) map(int,input().split()) k l= list(map(int,input().split())) list(map(int,input().split())) l
n,k = map(int,input().split())
count=0

l= list(map(int,input().split()))

for i in range(len(l)):
    if l[i]>=k:
        count=count+1

print(count)