N, K = [int(i) for i in input().split()]

H = [int(i) for i in input().split()]

cnt = 0

for h in H:

    if h >= K:

        cnt += 1

print(cnt)

# N = int(input())

N, K = [int(_) for _ in input().split()]

h = [int(_) for _ in input().split()]

print((len([i for i in h if i >= K])))



N, K = [int(i) for i in input().split()]
H = [int(i) for i in input().split()]
cnt = 0
for h in H:
    if h >= K:
        cnt += 1
print(cnt)

# N = int(input())
N, K = [int(_) for _ in input().split()]
h = [int(_) for _ in input().split()]
print((len([i for i in h if i >= K])))

-N, K = [int(i) for i in input().split()] -H = [int(i) for i in input().split()] -cnt = 0 -for h in H: -    if h >= K: -        cnt += 1 -print(cnt) +# N = int(input()) +N, K = [int(_) for _ in input().split()] +h = [int(_) for _ in input().split()] +print((len([i for i in h if i >= K])))