# -*- coding: utf-8 -*-

def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans)


if __name__ == "__main__":
    main() def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans) 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 ans = 0 ans 0 for i in h:
        if i >= K:
            ans += 1

     i h if i >= K:
            ans += 1

     i >= K i K ans += 1 ans 1 print(ans) print ans if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans) def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans) main
# -*- coding: utf-8 -*-

def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans)


if __name__ == "__main__":
    main()