The wall-framing takeoff's roofing nail count covered only the shingle field. Ridge and hip cap and the starter course at the eaves take nails too, and a box that runs out on the last day costs a trip. Two opt-in settings, roofing.capNailsPerFoot and roofing.starterNailsPerFoot, now add them: feet of ridge and hip, or eave, times your nails per foot, with the roof's waste factor, folded into the same pound and box count.
The rates are yours to type; none ship, and they are not a shingle maker's schedule. Checked against hand arithmetic only, no real roof order.