# Kより大きいやつを抽出してlenで要素を返す
N, K = map(int, input().split())
h = list(map(int, input().split()))

possible = []

for i in h:
    if i >= K:
        possible.append(i)

print(len(possible)) 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 possible = [] possible [] for i in h:
    if i >= K:
        possible.append(i) i h if i >= K:
        possible.append(i) i >= K i K possible.append(i) possible.append possible append i print(len(possible)) print len(possible) len possible h = list(map(int, input().split())) list(map(int, input().split())) h possible = [] [] possible N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
# Kより大きいやつを抽出してlenで要素を返す
N, K = map(int, input().split())
h = list(map(int, input().split()))

possible = []

for i in h:
    if i >= K:
        possible.append(i)

print(len(possible))
