n,k = map(int,input().split())
h = list(map(int,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 h = list(map(int,input().split())) h 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 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 h = list(map(int,input().split())) list(map(int,input().split())) h ans = 0 0 ans ans += 1 1 ans n,k = map(int,input().split()) map(int,input().split()) n k = map(int,input().split()) map(int,input().split()) k
n,k = map(int,input().split())
h = list(map(int,input().split()))
ans = 0
for i in range(n):
    if h[i] >= k:
        ans += 1
print(ans)