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

cnt = 0
for i in l:
    if i >= K:
        cnt = cnt + 1

print(cnt) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K l = list(map(int, input().split())) l list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split cnt = 0 cnt 0 for i in l:
    if i >= K:
        cnt = cnt + 1 i l if i >= K:
        cnt = cnt + 1 i >= K i K cnt = cnt + 1 cnt cnt + 1 cnt 1 print(cnt) print cnt l = list(map(int, input().split())) list(map(int, input().split())) l cnt = 0 0 cnt K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N cnt = cnt + 1 cnt + 1 cnt
N, K = map(int, input().split())
l = list(map(int, input().split()))

cnt = 0
for i in l:
    if i >= K:
        cnt = cnt + 1

print(cnt)