N, K = map(int, input().split())
h = list(map(int, input().split()))
H = list(1 for x in h if x >= K)
print(sum(H)) 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 = list(1 for x in h if x >= K) H list(1 for x in h if x >= K) list 1 print(sum(H)) print sum(H) sum H H = list(1 for x in h if x >= K) list(1 for x in h if x >= K) H N, K = map(int, input().split()) map(int, input().split()) N h = list(map(int, input().split())) list(map(int, input().split())) h K = map(int, input().split()) map(int, input().split()) K
N, K = map(int, input().split())
h = list(map(int, input().split()))
H = list(1 for x in h if x >= K)
print(sum(H))