fix(#154) Summary of created files resets after each report

bug appears fixed.
Solutions looks a little raw though.
In other projects I often have a stats class that I pull in to handle these simple increment, report, reset tasks.
Open to suggestions.

Another question should the actionCounts and resetCounts be defined above the module.exports ?