import bisect
N, K = map(int, input().split())
Nlist = list(map(int, input().split()))
Nlist.sort()
okindex = bisect.bisect_left(Nlist, K)
print(N-okindex) import bisect bisect N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K Nlist = list(map(int, input().split())) Nlist list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split Nlist.sort() Nlist.sort Nlist sort okindex = bisect.bisect_left(Nlist, K) okindex bisect.bisect_left(Nlist, K) bisect.bisect_left bisect bisect_left Nlist K print(N-okindex) print N-okindex N okindex Nlist = list(map(int, input().split())) list(map(int, input().split())) Nlist K = map(int, input().split()) map(int, input().split()) K okindex = bisect.bisect_left(Nlist, K) bisect.bisect_left(Nlist, K) okindex N, K = map(int, input().split()) map(int, input().split()) N
import bisect
N, K = map(int, input().split())
Nlist = list(map(int, input().split()))
Nlist.sort()
okindex = bisect.bisect_left(Nlist, K)
print(N-okindex)
