N,K = map(int, input().split())

data = list(map(int,input().split()))
cnt =0

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

data = list(map(int,input().split()))
cnt =0

for i in range(len(data)):
    if data[i]>= K:
        cnt += 1
print(cnt)