Scientists use various methods to estimate the population size of rare animals, including camera traps, DNA analysis from hair or feces, and field surveys by trained experts.