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