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)]
i = cnt = 0


DS = D * D

while i < N:
    if x[i]**2 + y[i]**2 <= DS:
        cnt += 1
    i += 1

print(cnt) 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 i = cnt = 0 i 0 = cnt = 0 cnt 0 DS = D * D DS D * D D D while i < N:
    if x[i]**2 + y[i]**2 <= DS:
        cnt += 1
    i += 1 i < N i N if x[i]**2 + y[i]**2 <= DS:
        cnt += 1
     x[i]**2 + y[i]**2 <= DS x[i]**2 + y[i]**2 x[i]**2 x[i] x i 2 y[i]**2 y[i] y i 2 DS cnt += 1 cnt 1 i += 1 i 1 print(cnt) print cnt cnt += 1 1 cnt N, D = (int(x) for x in input().split()) (int(x) for x in input().split()) N x, y = [list(i) for i in zip(*xy)] [list(i) for i in zip(*xy)] x i += 1 1 i cnt = 0 0 cnt D = (int(x) for x in input().split()) (int(x) for x in input().split()) D i = cnt = 0 0 i xy = [map(int, input().split()) for _ in range(N)] [map(int, input().split()) for _ in range(N)] xy DS = D * D D * D DS 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)]
i = cnt = 0


DS = D * D

while i < N:
    if x[i]**2 + y[i]**2 <= DS:
        cnt += 1
    i += 1

print(cnt)