n, k = map(int,input().split())
H = sorted(list(map(int, input().split())), reverse=True)
cnt = 0
for i in range(n):
    if H[i] >= k:
        cnt += 1
    elif H[i] < k:
        break
print(cnt) n, k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k H = sorted(list(map(int, input().split())), reverse=True) H sorted(list(map(int, input().split())), reverse=True) sorted list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split reverse=True reverse True cnt = 0 cnt 0 for i in range(n):
    if H[i] >= k:
        cnt += 1
    elif H[i] < k:
        break i range(n) range n if H[i] >= k:
        cnt += 1
    elif H[i] < k:
        break H[i] >= k H[i] H i k cnt += 1 cnt 1 elif H[i] < k:
        break H[i] < k H[i] H i k break print(cnt) print cnt H = sorted(list(map(int, input().split())), reverse=True) sorted(list(map(int, input().split())), reverse=True) H n, k = map(int,input().split()) map(int,input().split()) n cnt += 1 1 cnt k = map(int,input().split()) map(int,input().split()) k cnt = 0 0 cnt
n, k = map(int,input().split())
H = sorted(list(map(int, input().split())), reverse=True)
cnt = 0
for i in range(n):
    if H[i] >= k:
        cnt += 1
    elif H[i] < k:
        break
print(cnt)