def main():

    n, k = [int(x) for x in input().split()]

    h = [int(x) for x in input().split()]

    count = 0

    for i in range(n):

        if h[i] >= k:

            count += 1



    print(count)







if __name__ == '__main__':

    main()

def main():

    n,k = list(map(int,input().split()))

    H = list(map(int,input().split()))



    count = 0

    for h in H:

        if h >= k:

            count += 1

    print(count)





if __name__ == '__main__':

    main()

def main():
    n, k = [int(x) for x in input().split()]
    h = [int(x) for x in input().split()]
    count = 0
    for i in range(n):
        if h[i] >= k:
            count += 1
    print(count)


if __name__ == "__main__":
    main()

def main():
    n, k = list(map(int, input().split()))
    H = list(map(int, input().split()))
    count = 0
    for h in H:
        if h >= k:
            count += 1
    print(count)


if __name__ == "__main__":
    main()

-    n, k = [int(x) for x in input().split()] -    h = [int(x) for x in input().split()] +    n, k = list(map(int, input().split())) +    H = list(map(int, input().split())) -    for i in range(n): -        if h[i] >= k: +    for h in H: +        if h >= k: