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
    
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
     i range(N) range N if h[i] >= K: ans += 1
     h[i] >= K h[i] h i K print(ans) print ans h = list(map(int, input().split())) list(map(int, input().split())) h K = map(int, input().split()) map(int, input().split()) K ans = 0 0 ans N, K = map(int, input().split()) map(int, input().split()) N
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
    
print(ans)