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

for i in l:
    if i >= k:
        count += 1
    else:
        continue

print(count) n,k = map(int,input().split(' ')) n map(int,input().split(' ')) map int input().split(' ') ().split () input split ' ' k l = list(map(int,input().split(' '))) l list(map(int,input().split(' '))) list map(int,input().split(' ')) map int input().split(' ') ().split () input split ' ' count = 0 count 0 for i in l:
    if i >= k:
        count += 1
    else:
        continue i l if i >= k:
        count += 1
    else:
        continue i >= k i k count += 1 count 1 continue print(count) print count k = map(int,input().split(' ')) map(int,input().split(' ')) k n,k = map(int,input().split(' ')) map(int,input().split(' ')) n count += 1 1 count count = 0 0 count l = list(map(int,input().split(' '))) list(map(int,input().split(' '))) l
n,k = map(int,input().split(' '))
l = list(map(int,input().split(' ')))
count = 0

for i in l:
    if i >= k:
        count += 1
    else:
        continue

print(count)