N,D=(int(x) for x in input().split())
xy = [map(int, input().split()) for _ in range(N)]
x, y = [list(i) for i in zip(*xy)]


count=0
for i in range(N) :
 	z=x[i]**2+y[i]**2
 	if z<=D**2 :
		 count+=1
print(count) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x N,D=(int(x) for x in input().split()) N (int(x) for x in input().split()) D map(int, input().split()) for _ in range(N) for _ in range(N) _ range(N) range N for _ in range(N) map(int, input().split()) map int input().split() ().split () input split xy = [map(int, input().split()) for _ in range(N)] xy [map(int, input().split()) for _ in range(N)] list(i) for i in zip(*xy) for i in zip(*xy) i zip(*xy) zip *xy xy for i in zip(*xy) list(i) list i x, y = [list(i) for i in zip(*xy)] x [list(i) for i in zip(*xy)] y count=0 count 0 for i in range(N) :
 	z=x[i]**2+y[i]**2
 	if z<=D**2 :
		 count+=1 i range(N) range N z=x[i]**2+y[i]**2 z x[i]**2+y[i]**2 x[i]**2 x[i] x i 2 y[i]**2 y[i] y i 2 if z<=D**2 :
		 count+=1 z<=D**2 z D**2 D 2 count+=1 count 1 print(count) print count count=0 0 count xy = [map(int, input().split()) for _ in range(N)] [map(int, input().split()) for _ in range(N)] xy count+=1 1 count D=(int(x) for x in input().split()) (int(x) for x in input().split()) D x, y = [list(i) for i in zip(*xy)] [list(i) for i in zip(*xy)] x N,D=(int(x) for x in input().split()) (int(x) for x in input().split()) N z=x[i]**2+y[i]**2 x[i]**2+y[i]**2 z y = [list(i) for i in zip(*xy)] [list(i) for i in zip(*xy)] y
N,D=(int(x) for x in input().split())
xy = [map(int, input().split()) for _ in range(N)]
x, y = [list(i) for i in zip(*xy)]


count=0
for i in range(N) :
 	z=x[i]**2+y[i]**2
 	if z<=D**2 :
		 count+=1
print(count)