There are 26 NPCs in Terraria. Eight of them are only available after Hardmode has been unlocked. Some of them sell items, and some of them serve other purposes! There is an incredible amount of depth in Terraria’s NPC system.