N, K = map(int, input().split())
ans = 0
for h in list(map(int, input().split())):
    ans += (h >= K)
print(ans) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K ans = 0 ans 0 for h in list(map(int, input().split())):
    ans += (h >= K) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split ans += (h >= K) ans h >= K h K print(ans) print ans ans = 0 0 ans N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K ans += (h >= K) h >= K ans
N, K = map(int, input().split())
ans = 0
for h in list(map(int, input().split())):
    ans += (h >= K)
print(ans)
