import numpy as np

N, K = map(int, input().split())
H = list(map(int, input().split()))
H = np.array(H) 

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

 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 = list(map(int, input().split())) H list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split H = np.array(H) H np.array(H) np.array np array H print(np.count_nonzero(H >= K)) print np.count_nonzero(H >= K) np.count_nonzero np count_nonzero H >= K H K K = map(int, input().split()) map(int, input().split()) K H = np.array(H) np.array(H) H H = list(map(int, input().split())) list(map(int, input().split())) H N, K = map(int, input().split()) map(int, input().split()) N
import numpy as np

N, K = map(int, input().split())
H = list(map(int, input().split()))
H = np.array(H) 

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


