N, K = map(int, input().split())
H = [int(i) for i in input().split()]
c = 0

for h in H:
  if h >= K:
    c += 1
print(c) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i H = [int(i) for i in input().split()] H [int(i) for i in input().split()] c = 0 c 0 for h in H:
  if h >= K:
    c += 1 h H if h >= K:
    c += 1 h >= K h K c += 1 c 1 print(c) print c K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N c += 1 1 c H = [int(i) for i in input().split()] [int(i) for i in input().split()] H c = 0 0 c
N, K = map(int, input().split())
H = [int(i) for i in input().split()]
c = 0

for h in H:
  if h >= K:
    c += 1
print(c)