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