mapper with stats properly working. Results have file  extension .stats.