# -*- coding: utf-8 -*-

n, k = map(int, input().split())
cnt = 0

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

for high in h:
    if high >= k:
        cnt += 1


print(cnt) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k cnt = 0 cnt 0 h = list(map(int, input().split())) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split for high in h:
    if high >= k:
        cnt += 1 high h if high >= k:
        cnt += 1 high >= k high k cnt += 1 cnt 1 print(cnt) print cnt h = list(map(int, input().split())) list(map(int, input().split())) h cnt += 1 1 cnt n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k cnt = 0 0 cnt
# -*- coding: utf-8 -*-

n, k = map(int, input().split())
cnt = 0

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

for high in h:
    if high >= k:
        cnt += 1


print(cnt)
