If it says "for each Energy attached" then DCE counts as 2, because it provides 2 units of Energy.
If it says "for each Energy card attached" then DCE counts as 1, because it's just 1 card.
Deoxys is in the first category, so DCE counts as 2 in this case.