N,D=map(int, input().split())
XY=[map(int, input().split()) for _ in range(N)]
X,Y=[list(i) for i in zip(*XY)]

D2=D**2
K=0

for i in range(0,N):
    S=(X[i])**2+(Y[i])**2
    if D2>=S:
        K+=1

print(K) N,D=map(int, input().split()) N map(int, input().split()) map int input().split() ().split () 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 D2=D**2 D2 D**2 D 2 K=0 K 0 for i in range(0,N):
    S=(X[i])**2+(Y[i])**2
    if D2>=S:
        K+=1 i range(0,N) range 0 N S=(X[i])**2+(Y[i])**2 S (X[i])**2+(Y[i])**2 (X[i])**2 X[i] X i 2 (Y[i])**2 Y[i] Y i 2 if D2>=S:
        K+=1 D2>=S D2 S K+=1 K 1 print(K) print K XY=[map(int, input().split()) for _ in range(N)] [map(int, input().split()) for _ in range(N)] XY X,Y=[list(i) for i in zip(*XY)] [list(i) for i in zip(*XY)] X K=0 0 K Y=[list(i) for i in zip(*XY)] [list(i) for i in zip(*XY)] Y N,D=map(int, input().split()) map(int, input().split()) N S=(X[i])**2+(Y[i])**2 (X[i])**2+(Y[i])**2 S D=map(int, input().split()) map(int, input().split()) D D2=D**2 D**2 D2 K+=1 1 K
N,D=map(int, input().split())
XY=[map(int, input().split()) for _ in range(N)]
X,Y=[list(i) for i in zip(*XY)]

D2=D**2
K=0

for i in range(0,N):
    S=(X[i])**2+(Y[i])**2
    if D2>=S:
        K+=1

print(K)