n,k = map(int, input().split())
h = list(map(int, input().split()))
cnt = 0
for i in range(len(h)):
    if h[i]>=k:
        cnt += 1
    else:
        continue
print(cnt) 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 cnt = 0 cnt 0 for i in range(len(h)):
    if h[i]>=k:
        cnt += 1
    else:
        continue i range(len(h)) range len(h) len h if h[i]>=k:
        cnt += 1
    else:
        continue h[i]>=k h[i] h i k cnt += 1 cnt 1 continue print(cnt) print cnt n,k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k cnt += 1 1 cnt h = list(map(int, input().split())) list(map(int, input().split())) h cnt = 0 0 cnt
n,k = map(int, input().split())
h = list(map(int, input().split()))
cnt = 0
for i in range(len(h)):
    if h[i]>=k:
        cnt += 1
    else:
        continue
print(cnt)