N, K = map(int, input().split())
h = list(map(int, input().split()))

total = 0
for height in h:
  if height >= K:
    total += 1
    
print(total) 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 total = 0 total 0 for height in h:
  if height >= K:
    total += 1
     height h if height >= K:
    total += 1
     height >= K height K total += 1 total 1 print(total) print total total = 0 0 total N, K = map(int, input().split()) map(int, input().split()) N h = list(map(int, input().split())) list(map(int, input().split())) h K = map(int, input().split()) map(int, input().split()) K total += 1 1 total
N, K = map(int, input().split())
h = list(map(int, input().split()))

total = 0
for height in h:
  if height >= K:
    total += 1
    
print(total)