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

total = 0

for i in A:
    if i >= k:
        total += 1
        
print(total) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k A = list(map(int, input().split())) A list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split total = 0 total 0 for i in A:
    if i >= k:
        total += 1
         i A if i >= k:
        total += 1
         i >= k i k total += 1 total 1 print(total) print total n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k total = 0 0 total A = list(map(int, input().split())) list(map(int, input().split())) A total += 1 1 total
n, k = map(int, input().split())
A = list(map(int, input().split()))

total = 0

for i in A:
    if i >= k:
        total += 1
        
print(total)