n, k = map(int, input().split())
data = list(map(int, input().split()))
ans = 0
for d in data:
    if d >= k:
        ans += 1

print(ans) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k data = list(map(int, input().split())) data list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split ans = 0 ans 0 for d in data:
    if d >= k:
        ans += 1 d data if d >= k:
        ans += 1 d >= k d k ans += 1 ans 1 print(ans) print ans k = map(int, input().split()) map(int, input().split()) k n, k = map(int, input().split()) map(int, input().split()) n ans = 0 0 ans ans += 1 1 ans data = list(map(int, input().split())) list(map(int, input().split())) data
n, k = map(int, input().split())
data = list(map(int, input().split()))
ans = 0
for d in data:
    if d >= k:
        ans += 1

print(ans)
