Question 4How many positive integers less than or equal to 2017 have a units digit of 7 and can be expressed as the sum of two perfect squares?