Here's how many miles you should aim for depending on your goal.