import bisect

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

h_list = sorted(h_list)

print(N - bisect.bisect_left(h_list, K)) import bisect bisect N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K h_list = list(map(int, input().split())) h_list list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split h_list = sorted(h_list) h_list sorted(h_list) sorted h_list print(N - bisect.bisect_left(h_list, K)) print N - bisect.bisect_left(h_list, K) N bisect.bisect_left(h_list, K) bisect.bisect_left bisect bisect_left h_list K h_list = sorted(h_list) sorted(h_list) h_list h_list = list(map(int, input().split())) list(map(int, input().split())) h_list N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
import bisect

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

h_list = sorted(h_list)

print(N - bisect.bisect_left(h_list, K))