How many sides do a nonagon and a triangle have altogether?

A nonagon has nine sides, and a triangle has three, so altogether they have 12 sides.