Added variable for total attachments.
To calculate the total number of attachments we need to know: how many computers were sold and how many of those computers had attachments. - also added comments to several lines