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

print(cnt)