The number of slaves freed by some of the companions of the Prophet (saw) include:
A slave would have been very expensive - equivalent to the cost of an expensive car or a flat.
These seven companions released 39,259 slaves. The total number of slaves freed by thousands of companions would be a much larger number
Source: Ma'ariful Qur'an Vol. 8, p. 38