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

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

     i range(n) range n if inlis[i] >= k:
            ans += 1

     inlis[i] >= k inlis[i] inlis 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())
    inlis = list(map(int, input().split()))
    ans = 0
    for i in range(n):
        if inlis[i] >= k:
            ans += 1

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

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

    print(ans)
    
    
    
if __name__ == "__main__":
    main()
