N, K = map(int,input().split())
friend = list(map(int,input().split()))
clear = []

for i in friend:
    if i >= K:
        clear.append(i)

print(len(clear)) N, K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K friend = list(map(int,input().split())) friend list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split clear = [] clear [] for i in friend:
    if i >= K:
        clear.append(i) i friend if i >= K:
        clear.append(i) i >= K i K clear.append(i) clear.append clear append i print(len(clear)) print len(clear) len clear N, K = map(int,input().split()) map(int,input().split()) N K = map(int,input().split()) map(int,input().split()) K friend = list(map(int,input().split())) list(map(int,input().split())) friend clear = [] [] clear
N, K = map(int,input().split())
friend = list(map(int,input().split()))
clear = []

for i in friend:
    if i >= K:
        clear.append(i)

print(len(clear))