This total is for all accumulated gold, so you are free to upgrade your heroes. Playing a little bit and keeping your heroes upgraded well letting the game run should allow you to get this within the first day. It is a simple achievement that will come fairly quickly if you stick with the game.