H,N=map(int,input().split()) ans = 1 for i in range(N-1): if int(input()) > H: ans+=1 print(ans)