You can dismiss them by just telling them to wait somewhere. I think you can have three companions unless you get the Cult of Personality perk, which allows you to have four.
Max number of followers = Charisma / 2, rounded down. Max number of followers with the Magnetic Personality perk = (Charisma / 2, rounded down) + 1, capped at 5.