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

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

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