Quite a few, once you count the handhelds. The main line-up runs through the Game Boy, Game Boy Color, Game Boy Advance, Game Boy Advance SP, the NES, SNES, Nintendo 64, GameCube, the DS family (original, Lite, DSi, DSi XL), the 3DS, and the Wii.
That list mixes home consoles and portables, which is why totals vary depending on who is counting. Nintendo's habit of releasing incremental handheld revisions — the Lite, the XL, the SP — inflates the number considerably compared with rivals who refreshed hardware less often.
Newer systems have been added since, so treat this as a snapshot of the classic era rather than a complete tally.