N, K = map(int, input().split())
x = list(map(int, input().split()))
total = 0
for i in range(N):
    if x[i] >= K:
        total = total + 1
    else:
        total = total + 0
print(total) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K x = list(map(int, input().split())) x list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split total = 0 total 0 for i in range(N):
    if x[i] >= K:
        total = total + 1
    else:
        total = total + 0 i range(N) range N if x[i] >= K:
        total = total + 1
    else:
        total = total + 0 x[i] >= K x[i] x i K total = total + 1 total total + 1 total 1 total = total + 0 total total + 0 total 0 print(total) print total N, K = map(int, input().split()) map(int, input().split()) N x = list(map(int, input().split())) list(map(int, input().split())) x K = map(int, input().split()) map(int, input().split()) K total = total + 1 total + 1 total total = total + 0 total + 0 total total = 0 0 total
N, K = map(int, input().split())
x = list(map(int, input().split()))
total = 0
for i in range(N):
    if x[i] >= K:
        total = total + 1
    else:
        total = total + 0
print(total)