How many factors are used when studying how prey avoids their predator?