When a scientist takes a small part of a habitat and counts the population, then applies it to the entire habitat, he/she is practicing _____.

indirect observation
direct observation
mark and recapture
sampling