History of South America

What was the total number of slaves freed when Emancipation Proclamitation ratified by all states effected?

Emancipation Proclamation was not ratified by all states. However, it took effect in all Confederate states, resulting in the freedom of around four million slaves.