n , m = map(int, input().split())
lis = list(map(int, input().split()))

total = 0

for i in lis:
    if i >= m:
        total += 1

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

total = 0

for i in lis:
    if i >= m:
        total += 1

print(total)