Portal - 4: Morality core, Anger core, Curiosity core, Cake core- (5 if you count GLaDOS)
Portal 2 - 5: Wheatley (AKA Intellegence Dampening Sphere), Fact core, Adventure core, Space core (7 if you count GLaDOS and Atlas*)
* Which is an coop Testing robot. the fat one.
Note that the core asking questions is Curiosity core and not Emotinal core. Emotional core is the other name of Anger core.