n,d=map(int,input().split())
print(sum(eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5<=d for _ in range(n))) n,d=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split d print(sum(eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5<=d for _ in range(n))) print sum(eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5<=d for _ in range(n)) sum eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5<=d eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5 eval("(("+input().replace(" ",")**2+(")+")**2)") eval "(("+input().replace(" ",")**2+(")+")**2)" "(("+input().replace(" ",")**2+(") "((" input().replace(" ",")**2+(") ().replace () input replace " " ")**2+(" ")**2)" 0.5 d n,d=map(int,input().split()) map(int,input().split()) n d=map(int,input().split()) map(int,input().split()) d
n,d=map(int,input().split())
print(sum(eval("(("+input().replace(" ",")**2+(")+")**2)")**0.5<=d for _ in range(n)))