Make sure after you recruit them, you leave them on your team for a short while before dismissing them otherwise it may not register as them having become a companion. You can only have one of each type in your team at a time so if you want to recruit other companions you'll have to dismiss them first by talking to and parting ways with them. There are 8 companions in total, two robotic and six humanoid.