def main():
    n, k = map(int, input().split())
    H = list(map(int, input().split()))
    cnt = 0
    for i in range(n):
        if H[i] >= k:
            cnt += 1
    print(cnt)



if __name__ == "__main__":
    main() def main():
    n, k = map(int, input().split())
    H = list(map(int, input().split()))
    cnt = 0
    for i in range(n):
        if H[i] >= k:
            cnt += 1
    print(cnt) main 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 cnt = 0 cnt 0 for i in range(n):
        if H[i] >= k:
            cnt += 1
     i range(n) range n if H[i] >= k:
            cnt += 1
     H[i] >= k H[i] H i k cnt += 1 cnt 1 print(cnt) print cnt if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    n, k = map(int, input().split())
    H = list(map(int, input().split()))
    cnt = 0
    for i in range(n):
        if H[i] >= k:
            cnt += 1
    print(cnt) def main():
    n, k = map(int, input().split())
    H = list(map(int, input().split()))
    cnt = 0
    for i in range(n):
        if H[i] >= k:
            cnt += 1
    print(cnt) main
def main():
    n, k = map(int, input().split())
    H = list(map(int, input().split()))
    cnt = 0
    for i in range(n):
        if H[i] >= k:
            cnt += 1
    print(cnt)



if __name__ == "__main__":
    main()
