import numpy as np
n,k = map(int,input().split())
h = np.array(list(map(int,input().split())))

print(len(h[k<=h])) import numpy as np numpy n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k h = np.array(list(map(int,input().split()))) h np.array(list(map(int,input().split()))) np.array np array list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split print(len(h[k<=h])) print len(h[k<=h]) len h[k<=h] h k<=h k h n,k = map(int,input().split()) map(int,input().split()) n k = map(int,input().split()) map(int,input().split()) k h = np.array(list(map(int,input().split()))) np.array(list(map(int,input().split()))) h
import numpy as np
n,k = map(int,input().split())
h = np.array(list(map(int,input().split())))

print(len(h[k<=h]))