n, d = map(int, input().split())
points = [list(map(int, input().split(' '))) for i in range(n)]
cnt = 0

for i in range(n):
    square_distance = points[i][0]**2 + points[i][1]**2
    if square_distance <= d**2:
        cnt += 1
print(cnt) 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 ' ' points = [list(map(int, input().split(' '))) for i in range(n)] points [list(map(int, input().split(' '))) for i in range(n)] cnt = 0 cnt 0 for i in range(n):
    square_distance = points[i][0]**2 + points[i][1]**2
    if square_distance <= d**2:
        cnt += 1 i range(n) range n square_distance = points[i][0]**2 + points[i][1]**2 square_distance points[i][0]**2 + points[i][1]**2 points[i][0]**2 points[i][0] [i] points i 0 2 points[i][1]**2 points[i][1] [i] points i 1 2 if square_distance <= d**2:
        cnt += 1 square_distance <= d**2 square_distance d**2 d 2 cnt += 1 cnt 1 print(cnt) print cnt cnt = 0 0 cnt square_distance = points[i][0]**2 + points[i][1]**2 points[i][0]**2 + points[i][1]**2 square_distance cnt += 1 1 cnt n, d = map(int, input().split()) map(int, input().split()) n points = [list(map(int, input().split(' '))) for i in range(n)] [list(map(int, input().split(' '))) for i in range(n)] points d = map(int, input().split()) map(int, input().split()) d
n, d = map(int, input().split())
points = [list(map(int, input().split(' '))) for i in range(n)]
cnt = 0

for i in range(n):
    square_distance = points[i][0]**2 + points[i][1]**2
    if square_distance <= d**2:
        cnt += 1
print(cnt)