How many species of dinosaurs were there back when the dinosaurs ruled Earth?

It is estimated that there were over 700 species of dinosaurs that lived during the Mesozoic Era, when the dinosaurs ruled Earth.

Over 700 species of dinosaurs were found on Earth.