The
card text reads: N = #unique discarded cards
You discarded three
unique Titan cards: Left arm, Head, and Completion. The two copies of Completion Ritual only count as one, and the other two also count individually. As such, N=3 and the effect deals 90 damage.
(The rarity of the discarded doesn't matter, just the number of different ones.)