N, K = map(int, input().split())
H = list(map(int, input().split()))
count = 0
for h in H:
    if h >= K:
        count = count+1
print(count) 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 count = 0 count 0 for h in H:
    if h >= K:
        count = count+1 h H if h >= K:
        count = count+1 h >= K h K count = count+1 count count+1 count 1 print(count) print count N, K = map(int, input().split()) map(int, input().split()) N count = 0 0 count H = list(map(int, input().split())) list(map(int, input().split())) H count = count+1 count+1 count K = map(int, input().split()) map(int, input().split()) K
N, K = map(int, input().split())
H = list(map(int, input().split()))
count = 0
for h in H:
    if h >= K:
        count = count+1
print(count)
