Let $r(n)$ denote the number of representations of $n$ as the sum of two squares.  Are there any known results on $$\sum _{n\leq x\atop {n\equiv a(q)}}r(n)$$  and in particular is there an asymptotic formula?