There are many ways to measure biodiversity, from a simple count of the number of different species found in a given area, to complex statistical calculations that incorporate species number, population sizes for each species, and ecological roles for each species.
Biodiversity is the term for the measurement of the amount of variation of species in a given area.