Ceilings: 32 screws (every 8 in on edges, 12 in field). Walls: 28 screws (every 8 in on edges, 16 in field). That's about 180 screws per 1lb box. Use 1-1/4 in coarse thread for wood studs, 1-1/2 in fine thread for metal.
Screws are standard now—they hold better, don't pop, and are easier to set. Nails were used before cordless drills were common. Screw pops happen from framing movement; nails pop 10x more. Always use screws.
Use 1-5/8 in screws for 5/8 drywall on walls. Use 1-1/4 in for 1/2 in. Ceilings always use the longer screw choice. Coarse thread for wood, fine thread for steel studs. Don't overdrive—the screw head should dimple the paper without breaking it.