n, k = map(int, input().split())
h = list(map(int, input().split()))

h.sort()
ans = len(h)

for height in h:
    if height < k:
        ans -= 1
    else:
        print(ans)
        exit()

print(ans) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h = list(map(int, input().split())) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split h.sort() h.sort h sort ans = len(h) ans len(h) len h for height in h:
    if height < k:
        ans -= 1
    else:
        print(ans)
        exit() height h if height < k:
        ans -= 1
    else:
        print(ans)
        exit() height < k height k ans -= 1 ans 1 print(ans) print ans exit() exit print(ans) print ans ans = len(h) len(h) ans n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k ans -= 1 1 ans h = list(map(int, input().split())) list(map(int, input().split())) h
n, k = map(int, input().split())
h = list(map(int, input().split()))

h.sort()
ans = len(h)

for height in h:
    if height < k:
        ans -= 1
    else:
        print(ans)
        exit()

print(ans)
