A hamster has a total of 18 teeth: 2 upper and 2 lower incisors, 2 lower premolars (no upper premolars), and 6 upper and 6 lower molars.