n, k = list(map(int, input().split(' ')))

talls = list(map(int, input().split(' ')))

ans = 0

for t in talls:

  if t >= k:

    ans += 1

print(ans)

n, k = list(map(int, input().split(' ')))

print((sum([tall >= k for tall in list(map(int, input().split(' ')))])))
n, k = list(map(int, input().split(" ")))
talls = list(map(int, input().split(" ")))
ans = 0
for t in talls:
    if t >= k:
        ans += 1
print(ans)

n, k = list(map(int, input().split(" ")))
print((sum([tall >= k for tall in list(map(int, input().split(" ")))])))

-talls = list(map(int, input().split(" "))) -ans = 0 -for t in talls: -    if t >= k: -        ans += 1 -print(ans) +print((sum([tall >= k for tall in list(map(int, input().split(" ")))])))