N, K = map(int, input().split())
H = list(map(int, input().split()))
cnt = 0

for i in H:
  if i >= K:
    cnt += 1

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

for i in H:
  if i >= K:
    cnt += 1

print(cnt)