three questions

first, how do you set how many frames your animation will be? second, I know how to move the camera in a 3d scene, but how do you make it move throughout the animation? third, how do you make a motion path for objects?