Better stats output after filter masterdata script