N, D = map(int, input().split())
XY = [list(map(int, input().split())) for i in range(N)]
ans = 0
for i in range(N):
    if (XY[i][0]**2 + XY[i][1]**2)**0.5 <= D:
        ans += 1
print(ans) N, D = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split D list(map(int, input().split())) for i in range(N) for i in range(N) i range(N) range N for i in range(N) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split XY = [list(map(int, input().split())) for i in range(N)] XY [list(map(int, input().split())) for i in range(N)] ans = 0 ans 0 for i in range(N):
    if (XY[i][0]**2 + XY[i][1]**2)**0.5 <= D:
        ans += 1 i range(N) range N if (XY[i][0]**2 + XY[i][1]**2)**0.5 <= D:
        ans += 1 (XY[i][0]**2 + XY[i][1]**2)**0.5 <= D (XY[i][0]**2 + XY[i][1]**2)**0.5 XY[i][0]**2 + XY[i][1]**2 XY[i][0]**2 XY[i][0] [i] XY i 0 2 XY[i][1]**2 XY[i][1] [i] XY i 1 2 0.5 D ans += 1 ans 1 print(ans) print ans D = map(int, input().split()) map(int, input().split()) D ans = 0 0 ans ans += 1 1 ans N, D = map(int, input().split()) map(int, input().split()) N XY = [list(map(int, input().split())) for i in range(N)] [list(map(int, input().split())) for i in range(N)] XY
N, D = map(int, input().split())
XY = [list(map(int, input().split())) for i in range(N)]
ans = 0
for i in range(N):
    if (XY[i][0]**2 + XY[i][1]**2)**0.5 <= D:
        ans += 1
print(ans)