Why are there so many French speaking countries?

Because the French colonised many countries in the 1700s through late 1800s. The same can be said of other countries and their languages. English, Spanish and Portuguese are good examples, as the British, Spanish and Portuguese colonised many countries, as did the French.