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

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

print((sum(h[i] >= k for i in range(n))))

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

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

ans = sum(h[i] >= k for i in range(n))

print(ans)

n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
print((sum(h[i] >= k for i in range(n))))

n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
ans = sum(h[i] >= k for i in range(n))
print(ans)

-print((sum(h[i] >= k for i in range(n)))) +ans = sum(h[i] >= k for i in range(n)) +print(ans)