How many different dinosaurs were there?

There were thousands of species, with between 500 and 1000 non-avian species catalogued from their fossils. There were many hundreds of co-existing prehistoric birds and marine dinosaurs.

There are lists at the related links.