#!/usr/bin/env python3

def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count)

if __name__ == "__main__":
    main() def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count) main N,K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s hights = [int(s) for s in input().split()] hights [int(s) for s in input().split()] count = 0 count 0 for hight in hights:
        if hight >= K:
            count+= 1
    
     hight hights if hight >= K:
            count+= 1
    
     hight >= K hight K count+= 1 count 1 print(count) print count if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count) def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count) main
#!/usr/bin/env python3

def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count)

if __name__ == "__main__":
    main()
