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

ans = 0

for h in H:
  if h >= k:
    ans += 1

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

ans = 0

for h in H:
  if h >= k:
    ans += 1

print(ans)