n,k = map(int, input().split())
ki = list(map(int,input().split()))
count = 0

for i in range(n):
  if ki[i] >= k:
    count += 1
  else:
    pass

print(count) n,k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k ki = list(map(int,input().split())) ki list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split count = 0 count 0 for i in range(n):
  if ki[i] >= k:
    count += 1
  else:
    pass i range(n) range n if ki[i] >= k:
    count += 1
  else:
    pass ki[i] >= k ki[i] ki i k count += 1 count 1 print(count) print count n,k = map(int, input().split()) map(int, input().split()) n ki = list(map(int,input().split())) list(map(int,input().split())) ki count += 1 1 count count = 0 0 count k = map(int, input().split()) map(int, input().split()) k
n,k = map(int, input().split())
ki = list(map(int,input().split()))
count = 0

for i in range(n):
  if ki[i] >= k:
    count += 1
  else:
    pass

print(count)