The incident rule (marked_resolved) calculates the business duration:



if (dataChange || current.business_duration.nil())


          current.business_duration = gs.calDateDiff(opened, resolved, false);



If you take the script part and manipulate it to fit in something like this:



Calculate Duration Given a Schedule - ServiceNow Wiki



You could probably get it to do display as 7 days, etc., etc.