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