Which component of biodiversity takes into account the number of different habitats and niches present in an ecosystem?

Select one:
A. Genetic
B. Stabilizing
C. Ecosystem
D. Species