It's important to distinguish between editions and printings.
* Editions are significant changes to the text, including new material or substantial edits.
* Printings are simply reprints of the same text with different cover art, binding, or other physical aspects.
Since there are no known major revisions or substantial changes to the text of "Harry Potter and the Deathly Hallows," it's considered a single edition, despite the numerous printings.