N, K = map(int, input().split())
heights = list(map(int, input().split()))
qualified = 0

for height in heights:
    if height >= K:
        qualified += 1

print(qualified) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K heights = list(map(int, input().split())) heights list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split qualified = 0 qualified 0 for height in heights:
    if height >= K:
        qualified += 1 height heights if height >= K:
        qualified += 1 height >= K height K qualified += 1 qualified 1 print(qualified) print qualified K = map(int, input().split()) map(int, input().split()) K qualified = 0 0 qualified heights = list(map(int, input().split())) list(map(int, input().split())) heights N, K = map(int, input().split()) map(int, input().split()) N qualified += 1 1 qualified
N, K = map(int, input().split())
heights = list(map(int, input().split()))
qualified = 0

for height in heights:
    if height >= K:
        qualified += 1

print(qualified)
