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