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