import numpy as np

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

print(np.count_nonzero(h-k>=0)) 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(np.count_nonzero(h-k>=0)) print np.count_nonzero(h-k>=0) np.count_nonzero np count_nonzero h-k>=0 h-k h k 0 h=np.array(list(map(int,input().split()))) np.array(list(map(int,input().split()))) h n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k
import numpy as np

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

print(np.count_nonzero(h-k>=0))
