We are to find the number of integers $a$ in the interval $[1,2014]$ for which the system of equations $x+y=a, \frac{x^2}{x-1}+\frac{y^2}{y-1}=4$ will have finite number of solutions in integers.
This is what I have tried so far: since $(x,x-1)=1$ so $(x^2, x-1)=1$. As we see $\frac{x^2}{x-1}+\frac{y^2}{y-1}$ is an integer 4, so it follows that $$\left(\frac{x^2}{x-1}, \frac{y^2}{y-1}\right)\in \{(1,3),(3,1),(2,2),(0,4),(4,0)\}.$$
After this, I am lost. Not sure, if my approach is in correct path. Please help.
Substitute $x=a-y$ to get $$ \frac{(a+2)y^2-(a^2+2a)y+a^2}{y^2-ay+a-1}=4,$$ or after rearrangement, $$\tag1 (a-2)y^2+(2a-a^2)y+(a^2-4a+4)=0.$$ If $a=2$, this beconmes "$0=0$", i.e., every $y$ (integer and $\ne 1$, of course) leads to a solution. Hence for $a=2$, we get infinitely many solutions.
If $a\ne 2$, $(1)$ becomes $$\tag2y^2-ay+(a-2)=0 $$ and for this to have one (and then necessarily two) integer solutions, the discriminant $a^2-4(a-2)=a^2-4a+8$ must be a perfect square, $a^2-4a+8=d^2$. But then $$ (d+a-2)(d-a+2)=d^2-(a-2)^2=4$$ so that we write $4$ as product of two integers with non-zero even difference $2a-4$, which is impossible.
Summary. If $a=2$, there are infinitely many integer solutions $x\in\Bbb Z\setminus\{1\}$, $y=2-x$. And if $a\ne 2$, there are no integer solutions.
Remark. If we plug $a=2$ into $2$, we get the solutions $y=2$ (and $x=0$) and $y=0$ (and $x=2$); these are of course already among the previously found solutions for $a=2$.