If 1 <= a <= 50 and 1 <= b <= 50, for how many ordered pairs of integers (a,b) is sqrt(a + sqrt(b)) an integer?