If you invest $1000 at 5.7% interest compounded quarterly, and you deposit $1000 each year, in how many years will you have a total of $1,000,000?

It's not difficult to set up the problem without the additional $1000 each year, but with it, I'm lost.