How many terrestrial species died during the extinction?