n,k = map(int, input().split())
H = list(map(int, input().split()))

cnt = 0

for i in range(n):
    cnt += H[i] >= k

print(cnt) 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 cnt = 0 cnt 0 for i in range(n):
    cnt += H[i] >= k i range(n) range n cnt += H[i] >= k cnt H[i] >= k H[i] H i k print(cnt) print cnt cnt = 0 0 cnt cnt += H[i] >= k H[i] >= k cnt 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()) map(int, input().split()) n
n,k = map(int, input().split())
H = list(map(int, input().split()))

cnt = 0

for i in range(n):
    cnt += H[i] >= k

print(cnt)