N,K = map(int,input().split())
lsh = list(map(int,input().split()))
ans = 0
for i in range(N):
    if K <= lsh[i]:
        ans += 1
print(ans) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K lsh = list(map(int,input().split())) lsh list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split ans = 0 ans 0 for i in range(N):
    if K <= lsh[i]:
        ans += 1 i range(N) range N if K <= lsh[i]:
        ans += 1 K <= lsh[i] K lsh[i] lsh i ans += 1 ans 1 print(ans) print ans lsh = list(map(int,input().split())) list(map(int,input().split())) lsh ans = 0 0 ans ans += 1 1 ans K = map(int,input().split()) map(int,input().split()) K N,K = map(int,input().split()) map(int,input().split()) N
N,K = map(int,input().split())
lsh = list(map(int,input().split()))
ans = 0
for i in range(N):
    if K <= lsh[i]:
        ans += 1
print(ans)