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

ans = len([i for i in h if i >= k])
print(ans) 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 i for i in h if i >= k for i in h if i >= k i h i >= k i k if i >= k i ans = len([i for i in h if i >= k]) ans len([i for i in h if i >= k]) len [i for i in h if i >= k] print(ans) print ans n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k h = list(map(int, input().split())) list(map(int, input().split())) h ans = len([i for i in h if i >= k]) len([i for i in h if i >= k]) ans
n, k = map(int, input().split())
h = list(map(int, input().split()))

ans = len([i for i in h if i >= k])
print(ans)
