Add some variable to do some stats.
Add a function to print some stats.
Add deduplication percentage in the stats.