n, k = list(map(int, input().split()))
list = list(map(int, input().split()))
ans = [l for l in list if l >= k]

print(len(ans)) 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 list = list(map(int, input().split())) list list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split l for l in list if l >= k for l in list if l >= k l list l >= k l k if l >= k l ans = [l for l in list if l >= k] ans [l for l in list if l >= k] print(len(ans)) print len(ans) len ans ans = [l for l in list if l >= k] [l for l in list if l >= k] ans n, k = list(map(int, input().split())) list(map(int, input().split())) n k = list(map(int, input().split())) list(map(int, input().split())) k list = list(map(int, input().split())) list(map(int, input().split())) list
n, k = list(map(int, input().split()))
list = list(map(int, input().split()))
ans = [l for l in list if l >= k]

print(len(ans))