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