#!/usr/bin/env python3
n, k = map(int, input().split())
h = list(map(int, input().split()))
a = 0
for i in h:
    a += i >= k
print(a) 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 a = 0 a 0 for i in h:
    a += i >= k i h a += i >= k a i >= k i k print(a) print a h = list(map(int, input().split())) list(map(int, input().split())) h k = map(int, input().split()) map(int, input().split()) k a += i >= k i >= k a a = 0 0 a n, k = map(int, input().split()) map(int, input().split()) n
#!/usr/bin/env python3
n, k = map(int, input().split())
h = list(map(int, input().split()))
a = 0
for i in h:
    a += i >= k
print(a)