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

import numpy as np 

arr = np.array(input().split(),np.int64)

print(np.count_nonzero(arr>=K)) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K import numpy as np numpy arr = np.array(input().split(),np.int64) arr np.array(input().split(),np.int64) np.array np array input().split() ().split () input split np.int64 np int64 print(np.count_nonzero(arr>=K)) print np.count_nonzero(arr>=K) np.count_nonzero np count_nonzero arr>=K arr K N,K = map(int,input().split()) map(int,input().split()) N arr = np.array(input().split(),np.int64) np.array(input().split(),np.int64) arr K = map(int,input().split()) map(int,input().split()) K
N,K = map(int,input().split())

import numpy as np 

arr = np.array(input().split(),np.int64)

print(np.count_nonzero(arr>=K))