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

ans = bisect.bisect_left(h, k)
print(n-ans) import bisect bisect 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 = bisect.bisect_left(h, k) ans bisect.bisect_left(h, k) bisect.bisect_left bisect bisect_left h k print(n-ans) print n-ans n ans k = map(int, input().split()) map(int, input().split()) k ans = bisect.bisect_left(h, k) bisect.bisect_left(h, k) ans n, k = map(int, input().split()) map(int, input().split()) n h = list(map(int, input().split())) list(map(int, input().split())) h
import bisect
n, k = map(int, input().split())
h = list(map(int, input().split()))
h.sort()

ans = bisect.bisect_left(h, k)
print(n-ans)