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