N,K=map(int,input().split()) #int複数入力
alist = list(map(int, input().split()))
count = 0
for i in range(0,N):
    if alist[i] >= K:
        count += 1
print(count) N,K=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K alist = list(map(int, input().split())) alist list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split count = 0 count 0 for i in range(0,N):
    if alist[i] >= K:
        count += 1 i range(0,N) range 0 N if alist[i] >= K:
        count += 1 alist[i] >= K alist[i] alist i K count += 1 count 1 print(count) print count count = 0 0 count count += 1 1 count N,K=map(int,input().split()) map(int,input().split()) N K=map(int,input().split()) map(int,input().split()) K alist = list(map(int, input().split())) list(map(int, input().split())) alist
N,K=map(int,input().split()) #int複数入力
alist = list(map(int, input().split()))
count = 0
for i in range(0,N):
    if alist[i] >= K:
        count += 1
print(count)