The correct answer is: D. How many people will you invite?

The other options are incorrect because they do not use the verb "invite" in the correct tense. Option A, "How many people do you invite?", uses the present tense, but the party is next week. Option B, "How many people will you have invited?", uses the future perfect tense, but the party is not yet over. Option C, "How many people invited will be?", is grammatically incorrect.

The correct way to ask this question is "How many people will you invite?" This question uses the simple future tense, which is the most common tense used to talk about future events. It is also the most polite way to ask this question, as it does not assume that the person has already invited anyone.