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

s = 0
for x in h:
    if x >= k:
        s += 1

print(s) n, k = list(map(int, input().split())) n list(map(int, input().split())) list 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 s = 0 s 0 for x in h:
    if x >= k:
        s += 1 x h if x >= k:
        s += 1 x >= k x k s += 1 s 1 print(s) print s k = list(map(int, input().split())) list(map(int, input().split())) k s += 1 1 s h = list(map(int, input().split())) list(map(int, input().split())) h s = 0 0 s n, k = list(map(int, input().split())) list(map(int, input().split())) n
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))

s = 0
for x in h:
    if x >= k:
        s += 1

print(s)